8230fcc258
2018-09-14 15:36 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * include/harbour.hbx * include/hbchksum.h * src/harbour.def * src/rtl/hbmd5.c + added new C function void hb_hmac_md5( const void * key, HB_SIZE nKeyLen, const void * message, HB_SIZE nMsgLen, char * digest ); + added new PRG function HB_HMAC_MD5( <cMessage>, <cKey> ) -> <cMAC> ; HMAC MD5 is used in some authentication methods i.e. CRAM-MD5 authentication in SMTP protocol
Przemysław Czerpak
2018-09-14 15:36:21 +02:00
de1d478d2c
2018-09-02 23:07 UTC+0200 Aleksander Czajczynski (hb fki.pl) * include/hbsetup.h * changed to recognize ARM64 platform with modern GCC builds
Aleksander Czajczynski
2018-09-02 23:09:29 +02:00
068a923d6f
Merge pull request #173 from lailton/master
Phil Krylov
2018-06-04 14:12:19 +03:00
0c739d7bcd
Error to build harbour with bcc <= 5.8.2
Lailton
2018-06-04 01:36:41 -03:00
c3628b6020
2018-06-01 00:25 UTC+0300 Phil Krylov (phil a t newstar.rinet.ru) * src/rtl/trim.c ! Fixed HB_SIZE format specifier in HB_TRACE format string.
Phil Krylov
2018-06-01 00:25:47 +03:00
9183c2a865
2018-05-11 12:23 UTC+0200 maurilio (maurilio.longo@libero.it) * contrib/hbssl/hbssl.hbx * contrib/hbssl/ssl.c + Added function SSL_set_tlsext_host_name() which is needed to access a virtual host when using HTTPS. See https://en.wikipedia.org/wiki/Server_Name_Indication + Added function SSL_set_verify(). * src/rtl/fstemp.c ! hb_fsTempName() was not returning a valid temp name on OS/2
maurilio
2018-05-11 12:32:50 +02:00
19c4c58b3d
2018-03-16 19:10 UTC+0200 Phil Krylov (phil a t newstar.rinet.ru) * include/hbexprb.c * src/compiler/complex.c * src/vm/memvars.c * src/vm/strapi.c ! fixed compiler warnings emitted by GCC 7+
Phil Krylov
2018-03-16 21:11:59 +03:00
d01a23c4bd
2018-02-23 15:15 UTC+0200 Alexey Myronenko (m.oleksa/at/ukr.net) * src/debug/dbgwa.prg ! fixed position of the cursor in (reopened) F6-WA window
Alexey Myronenko
2018-02-26 22:25:20 +01:00
a1cc5beb98
2018-02-13 13:23 UTC+0100 Aleksander Czajczynski (hb fki.pl) * contrib/sddodbc/core.c ! fix DBCreate() GPF when RDDSQL is active and connection is via SDDODBC
Aleksander Czajczynski
2018-02-13 13:23:29 +01:00
4047c53980
2018-02-12 10:00 UTC+0100 Aleksander Czajczynski (hb fki.pl) * contrib/hbnetio/netiocli.c ! fix indentation
Aleksander Czajczynski
2018-02-12 10:00:00 +01:00
8545d4b8b6
2018-02-11 23:40 UTC+0100 Aleksander Czajczynski (hb fki.pl) * include/hbapi.h * src/common/hbver.c * src/harbour.def * contrib/hbwin/win_osc.c * synced Windows version detection code with Viktor's work in 3.4
Aleksander Czajczynski
2018-02-11 23:40:11 +01:00
d6f7c59e48
2018-02-11 12:55 UTC+0100 Aleksander Czajczynski (hb fki.pl) * package/harbour.mft + added version manifest to Harbour compiler binaries, which is more important on Windows 10 builds, to not include false Windows version in build info. This doesn't affect programs built with Harbour, where similar manifest should be included or not, according to your needs.
Aleksander Czajczynski
2018-02-11 12:55:13 +01:00
25bd6d1534
2018-02-11 12:15 UTC+0100 Aleksander Czajczynski (hb fki.pl) * contrib/hbdoc/hbdoc.prg * contrib/hbformat/utils/hbformat.prg * contrib/hbnetio/utils/hbnetio/hbnetio.prg * package/harbour.mft * package/harbour.rc * src/compiler/hbusage.c * utils/hbi18n/hbi18n.prg * utils/hbtest/hbtest.prg * bumped copyright year to 2018
Aleksander Czajczynski
2018-02-11 12:14:00 +01:00
12f14227c2
2018-02-11 12:00 UTC+0100 Aleksander Czajczynski (hb fki.pl) * README.md * config/global.mk * contrib/gtwvw/doc/gtwvw.txt * contrib/hbwin/tests/ole.prg * contrib/hbzebra/tests/cairo.prg * contrib/hbzebra/tests/harupdf.prg * contrib/hbzebra/tests/wingdi.prg * 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/3rd/zlib/ChangeLog.txt * src/compiler/hbusage.c * src/pp/hbpp.c * tests/html.prg * changed Harbour Project website URL references to https://harbour.github.io/ This change is very symbolic mark of time passing, but it had to be done. Original harbour-project.org domain went out from reach together with Phil Barnett passing away on April 16, 2015. Respect Phil, RIP. Phil's efforts are directly tied to The Harbour Project origins. To memorize him, please take a tour to archived The Oasis https://harbour.github.io/the-oasis/
Aleksander Czajczynski
2018-02-11 11:59:33 +01:00
9f016a6e2c
2018-02-11 11:00 UTC+0100 Aleksander Czajczynski (hb fki.pl) * contrib/hbnetio/netiocli.c ! fix spontaneous Error 1003 in NETIO client code failing to receive full length of incoming data packet. Such odd behaviour was spotted on Windows.
Aleksander Czajczynski
2018-02-11 11:00:15 +01:00
6a0c6b1910
2018-01-05 15:38 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/compiler/complex.c * pacified warning and removed commented debug code I committed by mistake
Przemysław Czerpak
2018-01-05 15:38:21 +01:00
12880a1b7f
2018-01-05 14:12 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * include/hbapiitm.h * src/rtl/hbdef.c * src/vm/itemapi.c * src/harbour.def + added new public C function HB_BOOL hb_itemTypeCmp( PHB_ITEM pItem1, PHB_ITEM pItem2 ); which uses low level item type comparison code taken from hb_default() and hb_defaultValue() PRG functions
Przemysław Czerpak
2018-01-05 14:12:06 +01:00
bed5e8eb46
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.
Przemysław Czerpak
2017-12-20 11:34:42 +01:00
b872d7b62c
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
Przemysław Czerpak
2017-12-19 21:42:15 +01:00
517b7654dd
2017-12-15 19:53 UTC+0100 Aleksander Czajczynski (hb fki.pl) * contrib/hbexpat/3rd/expat/expat.hbp ! add missing bits, previous commit failed to include expat_co[nfig].h on non-win platforms
Aleksander Czajczynski
2017-12-15 19:54:36 +01:00
6e3fe511f0
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 recenly in hb_Serialize(). Checking garbage collector reference count can save time here too, unique arrays and hashes won't be indexed as references.
Aleksander Czajczynski
2017-12-14 14:21:03 +01:00
2b4c4b3b5f
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
Przemysław Czerpak
2017-12-12 12:26:24 +01:00
f960a5ccda
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.
Przemysław Czerpak
2017-11-22 11:33:59 +01:00
dc0403d7dc
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
Przemysław Czerpak
2017-11-15 23:34:17 +01:00
bf91e4c243
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.
Przemysław Czerpak
2017-11-15 11:32:19 +01:00
39041d159c
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
Przemysław Czerpak
2017-11-14 20:30:47 +01:00
3bb0f06ec9
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
Przemysław Czerpak
2017-11-14 19:44:22 +01:00
390711bd22
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.
Przemysław Czerpak
2017-10-18 10:07:08 +02:00
990feed254
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
Przemysław Czerpak
2017-09-28 14:55:41 +02:00
31e48774dd
2017-09-27 09:24 UTC Viktor Szakats (vszakats users.noreply.github.com) * include/hbgtinfo.ch * sync HB_GTI_* values between 3.2 and 3.4
Viktor Szakats
2017-09-27 09:25:29 +00:00
fbe077d628
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
Przemysław Czerpak
2017-09-26 14:54:59 +02:00
29c1b00f55
2017-09-22 17:39 UTC Viktor Szakats (vszakats users.noreply.github.com) * src/compiler/hbcomp.c ! revert an accidental sync with 3.4 resulting in .prg source filenames being included in the compiled source only in debug mode. It's now restored to have these at all times. The comment typo in the same line remains synced. Ref: https://groups.google.com/d/msg/harbour-devel/7c-EyPWxjfg/ei84cbsvAQAJ
Viktor Szakats
2017-09-22 17:42:01 +00:00
b16bd0a0fb
2017-09-14 23:00 UTC Viktor Szakats (vszakats users.noreply.github.com) * contrib/hbmisc/tests/pe.prg * contrib/hbpost.hbm * contrib/hbpre.hbm * contrib/make.hb * sync text and minor code/comment updates with the 3.4 fork
Viktor Szakats
2017-09-14 23:01:30 +00:00
8340825fd5
2017-09-13 21:33 UTC Viktor Szakats (vszakats users.noreply.github.com) * bin/check.hb * contrib/gtwvw/* * sync some text with the 3.4 fork
Viktor Szakats
2017-09-13 21:34:26 +00:00
52ff21bcf3
2017-09-13 21:17 UTC Viktor Szakats (vszakats users.noreply.github.com) * bin/3rdpatch.hb ; 2017-08-24 19:43 UTC Viktor Szakats (vszakats users.noreply.github.com) + add support for .tar.lz/.tlz archive format ; 2017-02-13 12:05 UTC Viktor Szakats (vszakats users.noreply.github.com) * 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-01-04 01:04 UTC Viktor Szakats (vszakats users.noreply.github.com) + 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) ; 2017-01-03 16:01 UTC Viktor Szakats (vszakats users.noreply.github.com) * do not leak local TZ in generated .dif files ; 2016-01-24 11:56 UTC+0100 Viktor Szakats (vszakats users.noreply.github.com) ! 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. ; 2015-12-18 18:42 UTC+0100 Viktor Szakats (vszakats users.noreply.github.com) * update shebang to work regardless of where Harbour resides on the system, will now work if hbmk2 is found anywhere in PATH ; 2015-11-29 19:10 UTC+0100 Viktor Szakats (vszakats users.noreply.github.com) ! 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 ; 2015-11-29 18:34 UTC+0100 Viktor Szakats (vszakats users.noreply.github.com) ! fix to not use an unsupported 'tar' option on darwin and bsd platforms ; 2015-11-15 18:39 UTC+0100 Viktor Szakats (vszakats users.noreply.github.com) ! fix regression to ignore only the line-trailing whitespaces (not all of them) ; 2015-11-02 23:54 UTC+0100 Viktor Szakats (vszakats users.noreply.github.com) + add -w option to 'patch' command to ignore whitespace changes, thus avoiding problems caused by EOL-style differences ; 2015-10-18 15:49 UTC+0200 Viktor Szakats (vszakats users.noreply.github.com) * 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-15 21:34 UTC+0200 Viktor Szakats (vszakats users.noreply.github.com) % 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-04-20 00:23 UTC+0200 Viktor Szakats (vszakats users.noreply.github.com) + make sure not to allow protocol downgrade on redirects ; 2014-11-26 14:59 UTC+0100 Viktor Szakats (vszakats users.noreply.github.com) * deleted editor-specific configuration comment ! fixed infinite loop due to 1b5142c162463dc7abed564c30f09146e74d9ab7 % use hb_cwd(), hb_FName*(), hb_DirSep*() (also fixes potential portability issues) ; 2014-07-15 23:04 UTC+0200 Viktor Szakats (vszakats users.noreply.github.com) * use VF IO, ATail(), cleanups, URL updates, etc
Viktor Szakats
2017-09-13 21:24:23 +00:00
cdeb5b77b3
add addons/README.md (3.4 sync)
Viktor Szakats
2017-09-13 18:56:18 +00:00
d2dfc22f1f
rename a test image (3.4 sync)
Viktor Szakats
2017-09-13 18:51:15 +00:00
7b730500b9
2017-09-13 18:04 UTC Viktor Szakats (vszakats users.noreply.github.com) * contrib/hbrun/hbrun.hbp * ChangeLog.txt * package/harbour-wce.spec.in * package/harbour-win.spec.in * package/harbour.spec * 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.nsi * package/winuni/mpkg_win_uni.nsi * utils/hbmk2/hbmk2.hbp * utils/hbmk2/hbmk2.prg * utils/hbmk2/Makefile * package/harb_osx.icns -> package/harbour.icns * package/harb_win.ico -> package/harbour.ico * package/harb_win.mft -> package/harbour.mft * package/harb_win.rc -> package/harbour.rc * utils/hbmk2/hbmk2.rc -> utils/hbmk2/harbour.rc * sync more file renames with the 3.4 fork NOTE: some projects used to rely on harb_win.ico. This will not work anymore and these will need to be updated or even better fixed to rely on it local .ico file instead. * sync bash formatting and fixes. Formatting guidelines here https://google.github.io/styleguide/shell.xml * sync two hbmk2 macro names
Viktor Szakats
2017-09-13 18:05:43 +00:00
0bb0a11d16
2017-09-13 17:02 UTC Viktor Szakats (vszakats users.noreply.github.com) * config/dyn.mk * sync a missed variable rename
Viktor Szakats
2017-09-13 17:03:01 +00:00
59bd39a33c
2017-09-13 14:39 UTC Viktor Szakats (vszakats users.noreply.github.com) + contrib/hbcomm/DEPRECATED.txt * contrib/hbgd/tests/counter.prg * contrib/hbgd/tests/imgs_in/57chevy.gif -> contrib/hbgd/tests/imgs_in/d57chevy.gif * contrib/hbgd/tests/imgs_in/7seg.gif -> contrib/hbgd/tests/imgs_in/d7seg.gif * contrib/hbgd/tests/imgs_in/brsd.gif -> contrib/hbgd/tests/imgs_in/dbrsd.gif * contrib/hbgd/tests/imgs_in/fdb.gif -> contrib/hbgd/tests/imgs_in/dfdb.gif * contrib/hbgd/tests/imgs_in/jelly.gif -> contrib/hbgd/tests/imgs_in/djelly.gif * contrib/hbgd/tests/imgs_in/odb.gif -> contrib/hbgd/tests/imgs_in/dodb.gif * contrib/hbgd/tests/imgs_in/odw.gif -> contrib/hbgd/tests/imgs_in/dodw.gif * contrib/hbgd/tests/imgs_in/pdg.gif -> contrib/hbgd/tests/imgs_in/dpdg.gif * contrib/hbgd/tests/imgs_in/pdw.gif -> contrib/hbgd/tests/imgs_in/dpdw.gif * some more sync with 3.4 fork
Viktor Szakats
2017-09-13 14:39:27 +00:00
7ba5a41867
2017-09-13 12:49 UTC Viktor Szakats (vszakats users.noreply.github.com) * contrib/gtqtc/gtqtc.hbp * contrib/hbssl/ssl_hbcon.prg * contrib/gtqtc/hbmk2_qtmoc.hb -> contrib/gtqtc/hbmk2_qtgt.hb * more syncs with 3.4 fork. One rename, some content syncs after renames.
Viktor Szakats
2017-09-13 12:50:32 +00:00
aac48131fe
2017-09-13 12:41 UTC Viktor Szakats (vszakats users.noreply.github.com) * contrib/hbmxml/3rd/minixml/mxml.hbp * contrib/hbmxml/3rd/minixml/minixml.diff -> contrib/hbmxml/3rd/minixml/mxml.diff * one more sync with 3.4 fork
Viktor Szakats
2017-09-13 12:42:03 +00:00
b6cc8296fb
2017-09-13 11:57 UTC Viktor Szakats (vszakats users.noreply.github.com) + 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 * 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/usrrdd/rdds/vfpcdx.prg * move usrrdd sources to contrib/rddmisc to have the source tree in sync with 3.4 fork, where these were converted to a contrib. In 3.2 they will still be compiled into core with an #include trick.
Viktor Szakats
2017-09-13 12:00:53 +00:00
fa876ddc8a
2017-09-13 11:40 UTC Viktor Szakats (vszakats users.noreply.github.com) * config/*/*.mk * config/*.mk * config/postinst.hb * ChangeLog.txt * src/rdd/usrrdd/rdds/*.prg * sync with 3.4 fork minor code changes, comments, some strings
Viktor Szakats
2017-09-13 11:51:47 +00:00
a83c8f1fd8
2017-09-12 23:01 UTC Viktor Szakats (vszakats users.noreply.github.com) * utils/hbmk2/hbmk2.prg * sync with 3.4 fork minor code changes, comments, some strings
Viktor Szakats
2017-09-12 23:02:21 +00:00
e29badadff
hbmk2.prg: whitespace sync
Viktor Szakats
2017-09-12 16:32:25 +00:00
832160bfe6
2017-09-12 15:34 UTC Viktor Szakats (vszakats users.noreply.github.com) * ChangeLog.txt * sync with 3.4 fork all entried on or before 2013-04-10 (the time of the fork)
Viktor Szakats
2017-09-12 15:35:10 +00:00
9bc1df9b65
2017-09-12 15:17 UTC Viktor Szakats (vszakats users.noreply.github.com) * doc/Makefile * doc/howtorep.txt -> doc/howtovcs.txt * sync with 3.4 fork
Viktor Szakats
2017-09-12 15:17:38 +00:00
25e0853a49
2017-09-11 20:36 UTC Viktor Szakats (vszakats users.noreply.github.com) * contrib/hbwin/hbwin.hbp * 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 + contrib/hbwin/wapi_winbase_2.c + contrib/hbwin/wapi_winuser_2.c + contrib/hbwin/win_misc_2.c % sync file-splits with 3.4 fork
Viktor Szakats
2017-09-11 20:37:19 +00:00
ff3fbd8e40
core/contrib: whitespace/minor [ci skip]
Viktor Szakats
2017-09-11 19:56:57 +00:00
2e235ee4d8
2017-09-11 18:35 UTC Viktor Szakats (vszakats users.noreply.github.com) * contrib/gtwvg/*.prg * contrib/gtwvg/gtwgud.c * contrib/gtwvg/gtwvg.hbx * contrib/gtwvg/gtwvgd.c * contrib/gtwvg/wvgcore.c * contrib/gtwvg/wvgcuig.c * more sync with 3.4 fork, mostly code-style/whitespace with some minor optimizations
Viktor Szakats
2017-09-11 18:35:35 +00:00
5a2a287752
2017-09-08 16:00 UTC Viktor Szakats (vszakats users.noreply.github.com) * * * partial sync with the 3.4 fork codebase. These are the things synces for the most part: - copyright headers - grammar/typos in comments and some readmes - comment/whitespace/decorations - variable scoping in C files - DO CASE/SWITCH and some other alternate syntax usage - minimal amount of human readable text in strings - minor code updates - HB_TRACE() void * casts for pointers and few other changes to avoid C compiler warnings - various other, minor code cleanups - only Harbour/C code/headers were touched in src, utils, contrib, include. No 3rd party code, no make files, and with just a few exceptions, no 'tests' code was touched. - certain components were not touched were 3.4 diverged too much already, like f.e. hbmk2, hbssl, hbcurl, hbexpat - the goal was that no actual program logic should be altered by these changes. Except some possible minor exceptions, any such change is probably a bug in this patch. It's a massive patch, if you find anything broken after it, please open an Issue with the details. Build test was done on macOS. The goal is make it easier to see what actual code/logic was changed in 3.4 compared to 3.2 and to make patches easier to apply in both ways.
Viktor Szakats
2017-09-08 16:25:13 +00:00
d55bdd18b7
2017-09-07 08:38 UTC Viktor Szakats (vszakats users.noreply.github.com) * contrib/hbct/charsprd.c * contrib/hbct/dattime3.c * contrib/hbct/expand.c * contrib/hbct/misc2.c * contrib/hbct/screen2.c * contrib/hbcurl/core.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 % adjust some variables % sync variables scopes and some other minor things with 3.4 fork
Viktor Szakats
2017-09-07 08:39:50 +00:00
f496daa711
2017-08-25 17:57 UTC-0800 Pritpal Bedi (bedipritpal/at/hotmail.com) * contrib/gtwvg/gtwgud.c * contrib/gtwvg/gtwvgd.c + Added : hb_gtinfo( HB_GTI_WINTITLE ) now returns Windows handle. Was a missing implementation since long.
Pritpal Bedi
2017-08-25 18:01:52 -07:00
9f16c2bf8e
2017-08-13 18:27 UTC Viktor Szakats (vszakats users.noreply.github.com) * * * update copyright headers with new FSF postal address * COPYING.txt -> LICENSE.txt (rest of repo to be synced)
Viktor Szakats
2017-08-13 18:38:59 +00:00
7e482b9011
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.
Przemysław Czerpak
2017-08-03 20:24:47 +02:00
b075fccaaf
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.
Przemysław Czerpak
2017-07-03 18:36:42 +02:00
904a7e07a9
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.
Przemysław Czerpak
2017-06-27 12:37:16 +02:00
f840d79c66
2017-06-27 10:43 UTC+0200 Aleksander Czajczynski (hb fki.pl) + contrib/hbexpat/3rd/expat/siphash.h + new expat file, missing in previous commit by mistake
Aleksander Czajczynski
2017-06-27 10:43:43 +02:00
0181a0f48f
2017-06-26 08:55 UTC+0200 Aleksander Czajczynski (hb fki.pl) * contrib/hbexpat/3rd/expat/* ! updated to 2.2.1 (from 2.1.0) using 3rdpatch.hb, expat.dif(f) from Viktor's 3.4 fork was used - but adapted for DOS 8.3 naming scheme. According to issue #157, previous revisions of expat have security vulnerabilities, for more information refer to: https://github.com/libexpat/libexpat/blob/master/expat/Changes Many thanks to Sebastian Pipping for the information.
Aleksander Czajczynski
2017-06-26 08:56:14 +02:00
9581c18aea
2017-05-20 02:25 UTC Viktor Szakats (vszakats users.noreply.github.com) * 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.
Viktor Szakats
2017-05-20 02:58:04 +00:00
6fd6209086
2017-05-19 17:03 UTC Viktor Szakats (vszakats users.noreply.github.com) * 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.
Viktor Szakats
2017-05-19 17:06:25 +00:00
1eb4121bd9
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
Przemysław Czerpak
2017-05-19 16:08:57 +02:00
640164f606
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
Przemysław Czerpak
2017-05-19 00:54:22 +02:00
c495cba8ca
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
Przemysław Czerpak
2017-05-12 22:17:36 +02:00
099222a923
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
Przemysław Czerpak
2017-05-12 21:18:31 +02:00
4ac9d09475
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()
Przemysław Czerpak
2017-05-12 17:37:06 +02:00
a105eb54cc
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>
Przemysław Czerpak
2017-05-12 17:21:05 +02:00
21a7ff7582
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()
Przemysław Czerpak
2017-05-12 14:12:14 +02:00
7b8d91e5cd
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()
Przemysław Czerpak
2017-05-12 09:57:22 +02:00
e9cb7ffa2f
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()
Przemysław Czerpak
2017-05-11 18:05:43 +02:00
b21fa47ec0
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.
Przemysław Czerpak
2017-05-10 17:21:27 +02:00
79df0b6559
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()
Przemysław Czerpak
2017-05-10 16:39:38 +02:00
a13eebf540
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 1-st parameter of __oleVariantNew() when 2-nd 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, { "1-st", "2-nd", "3-rd" } ) ) oOle:setArrayOfIntegers( ; __oleVariantNew( WIN_VT_INT, { 1, 2, 3, 4 } ) + added support for array of integers initialization from strings passed to __oleVariantNew() in 2-nd 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
Przemysław Czerpak
2017-05-10 12:27:49 +02:00
6904545b24
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
Przemysław Czerpak
2017-05-10 07:55:37 +02:00
568003e11f
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.
Przemysław Czerpak
2017-05-10 07:50:03 +02:00
fc9066234e
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
Przemysław Czerpak
2017-05-09 17:04:44 +02:00
3e3d5b1776
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
Przemysław Czerpak
2017-05-09 10:57:43 +02:00
451ed05cf1
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()
Przemysław Czerpak
2017-05-09 09:14:20 +02:00