f7f2caa607
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.
Przemyslaw Czerpak
2009-10-30 02:41:17 +00:00
8148d544e5
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
Przemyslaw Czerpak
2009-10-29 21:30:52 +00:00
b307b30e68
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"
Przemyslaw Czerpak
2009-10-29 15:58:12 +00:00
ff3649b64d
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
Przemyslaw Czerpak
2009-10-29 14:41:46 +00:00
5d62222866
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.
Przemyslaw Czerpak
2009-10-29 14:17:17 +00:00
2b0537cfcb
2009-10-29 09:25 UTC+0200 Viktor Szakats (harbour.01 syenar.hu) * INSTALL + Added link to QT build instructions.
Viktor Szakats
2009-10-29 08:25:52 +00:00
55adfc642f
(deleted accidental debug line)
Viktor Szakats
2009-10-29 07:47:39 +00:00
f91fac0cd3
2009-10-29 08:36 UTC+0200 Viktor Szakats (harbour.01 syenar.hu) * 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().
Viktor Szakats
2009-10-29 07:37:56 +00:00
bdd496a088
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
Przemyslaw Czerpak
2009-10-28 08:13:41 +00:00
33b8f7bd83
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
Przemyslaw Czerpak
2009-10-27 18:49:44 +00:00
a0e07d3940
2009-10-27 17:36 UTC+0200 Viktor Szakats (harbour.01 syenar.hu) * contrib/hbwin/axcore.c * Replaced duplicated constant with HB_SIZEOFARRAY() macro.
Viktor Szakats
2009-10-27 16:39:24 +00:00
fa7562e992
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
Przemyslaw Czerpak
2009-10-27 10:51:37 +00:00
abb4092d09
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 3-rd party code developers to updated existing code and switch to hb_gcAllocate()
Przemyslaw Czerpak
2009-10-27 09:34:35 +00:00
6e305f8e6e
2009-10-27 09:33 UTC+0200 Viktor Szakats (harbour.01 syenar.hu) * contrib/hbwin/tests/testdll.prg * Minor.
Viktor Szakats
2009-10-27 08:33:31 +00:00
80727f27b2
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
Przemyslaw Czerpak
2009-10-26 23:01:50 +00:00
27d8ec120f
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
Przemyslaw Czerpak
2009-10-26 19:17:34 +00:00
05a8736097
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 64bit integer and HB_LONG is declared as LONG not LONGLONG
Pritpal Bedi
2009-10-26 15:22:06 +00:00
07671ae2f3
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 64bit builds - in all 64bit builds except Win64 LONG is 64bit integer and HB_LONG is declared as LONG not LONGLONG
Przemyslaw Czerpak
2009-10-26 14:29:12 +00:00
b27ce56c5e
2009-10-26 14:18 UTC+0200 Viktor Szakats (harbour.01 syenar.hu) * 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.
Viktor Szakats
2009-10-26 13:19:53 +00:00
42749a2ba3
2009-10-23 21:01 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/rtl/hbbffnc.c + added support for 3-rd parameter <lRaw> in hb_blowfishEncrypt() and hb_blowfishDecrypt() functions. It disables ANSI X.923 padding but encode passed string in 8bytes 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.
Przemyslaw Czerpak
2009-10-23 19:01:51 +00:00
70f4989f31
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.
Przemyslaw Czerpak
2009-10-23 16:08:06 +00:00
2adacef2e0
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
Przemyslaw Czerpak
2009-10-23 11:24:14 +00:00
0c88fcd8e0
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
Przemyslaw Czerpak
2009-10-23 10:44:40 +00:00
e2c22dd1a3
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
Przemyslaw Czerpak
2009-10-23 10:21:40 +00:00
3b55cf37fd
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
Przemyslaw Czerpak
2009-10-23 10:11:35 +00:00
4acf2beda2
2009-10-23 11:33 UTC+0200 Viktor Szakats (harbour.01 syenar.hu) * 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.
Viktor Szakats
2009-10-23 09:35:09 +00:00
d941950c7a
2009-10-23 10:23 UTC+0200 Viktor Szakats (harbour.01 syenar.hu) * 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.
Viktor Szakats
2009-10-23 08:24:05 +00:00
434812c2fc
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.
Przemyslaw Czerpak
2009-10-23 07:46:42 +00:00
a70ce60954
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.
Przemyslaw Czerpak
2009-10-23 07:25:36 +00:00
eb272fdca4
missed from prev entry:
Viktor Szakats
2009-10-23 07:12:43 +00:00
9332f8030c
! Will update Changelog at the end.
Pritpal Bedi
2009-10-22 17:31:51 +00:00
1fc0ba9a28
! Will update Changelog at the end.
Pritpal Bedi
2009-10-22 16:50:38 +00:00
761d3115c1
! Will update Changelog in one go.
Pritpal Bedi
2009-10-22 16:43:44 +00:00
1b916e4872
! Changes will be documented in last Changelog commit.
Pritpal Bedi
2009-10-22 16:41:57 +00:00
5d5d1e23ec
! Will update Changelog in one go.
Pritpal Bedi
2009-10-22 16:35:00 +00:00
2071207236
2009-10-21 17:09 UTC+0200 Viktor Szakats (harbour.01 syenar.hu) + contrib/hbwin/tests/testax.prg + Added self-contained AX example created by Alex Strickland. (plus some formatting and warning fix)
Viktor Szakats
2009-10-21 15:10:06 +00:00
61f278a65b
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
Przemyslaw Czerpak
2009-10-21 11:47:22 +00:00
5855e3e827
2009-10-21 12:11 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/rddads/rddads.h * minor fix in casting
Przemyslaw Czerpak
2009-10-21 10:12:14 +00:00
cce12eb9e7
2009-10-20 21:35 UTC+0200 Viktor Szakats (harbour.01 syenar.hu) * contrib/rddads/adsfunc.c * contrib/rddads/rddads.h * contrib/rddads/ads1.c ! Fixed fatal errors for 64-bit builds. I don't if there exist a 64-bit version of ACE, but anyway.
Viktor Szakats
2009-10-20 19:36:34 +00:00
5009da7bd6
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
Przemyslaw Czerpak
2009-10-20 09:38:07 +00:00
ce87a7efdb
2009-10-20 01:20 UTC+0200 Viktor Szakats (harbour.01 syenar.hu) * 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.
Viktor Szakats
2009-10-19 23:21:43 +00:00
4d79ba9fcc
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
Przemyslaw Czerpak
2009-10-19 23:19:00 +00:00
0e8c6557b9
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 3-rd 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" )
Przemyslaw Czerpak
2009-10-19 20:12:36 +00:00
7b830f3cd2
2009-10-19 18:15 UTC+0200 Viktor Szakats (harbour.01 syenar.hu) * 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) ; TOFIX: All tests should be eventually made fully warning free, so in the future expect -es2 switch to be added as well.
Viktor Szakats
2009-10-19 19:14:47 +00:00
b5c93263e5
2009-10-19 15:04 UTC+0200 Viktor Szakats (harbour.01 syenar.hu) * src/common/hbwince.c ! Typos in comments.
Viktor Szakats
2009-10-19 13:04:55 +00:00
890b9ac2ad
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.
Przemyslaw Czerpak
2009-10-19 12:54:46 +00:00
0e1f0f34e9
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
Przemyslaw Czerpak
2009-10-19 09:54:05 +00:00
c3e0439921
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 64bit (8 bytes) so it's bigger then original one.
Przemyslaw Czerpak
2009-10-16 23:22:41 +00:00
864d74c6a5
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: http://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: http://www.schneier.com/blowfish.html which can be downloaded from: http://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.
Przemyslaw Czerpak
2009-10-16 18:02:57 +00:00
825de608df
2009-10-16 13:54 UTC+0200 Viktor Szakats (harbour.01 syenar.hu) * 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 e-mail 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, f.e. 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, f.e. I didn't test attachments of HTML mails and probably several other options as well. ; Anyway please test.
Viktor Szakats
2009-10-16 11:59:18 +00:00
2cc9a8942f
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.
Pritpal Bedi
2009-10-15 19:57:00 +00:00
92f0efd1c9
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.
Przemyslaw Czerpak
2009-10-15 16:01:39 +00:00
3bba486c12
2009-10-15 17:14 UTC+0200 Viktor Szakats (harbour.01 syenar.hu) * 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.
Viktor Szakats
2009-10-15 15:17:50 +00:00
1a71aa5b61
2009-10-15 15:55 UTC+0200 Viktor Szakats (harbour.01 syenar.hu) * 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.
Viktor Szakats
2009-10-15 13:56:40 +00:00
57bee03186
2009-10-15 13:49 UTC+0200 Viktor Szakats (harbour.01 syenar.hu) * 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. ; TOFIX: 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.
Viktor Szakats
2009-10-15 11:57:57 +00:00
9db20419ea
2009-10-15 10:03 UTC+0200 Viktor Szakats (harbour.01 syenar.hu) * src/rtl/filesys.c ! hb_fsIsDrv() changed on win platform to use GetLogicalDrives() API instead of GetDriveTypeA(). This should fix existing TOFIX. 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.
Viktor Szakats
2009-10-15 08:19:40 +00:00
190bb357f6
2009-10-14 21:37 UTC+0200 Viktor Szakats (harbour.01 syenar.hu) * utils/hbmk2/hbmk2.prg + Added .d file parsing routines contributed by Przemek. with few minor adaptations for hbmk2 and formatting. ; NOTE: Not yet used.
Viktor Szakats
2009-10-14 19:38:47 +00:00
2d330ec865
2009-10-14 20:09 UTC+0200 Viktor Szakats (harbour.01 syenar.hu) * src/rtl/gtwvt/gtwvt.c + Added _SET_OSCODEPAGE support for HB_GTINFO( HB_GTI_WINTITLE ) and HB_GTINFO( HB_GTI_SELECTCOPY ).
Viktor Szakats
2009-10-14 18:10:33 +00:00
f0bf6de5ec
2009-10-14 18:46 UTC+0200 Viktor Szakats (harbour.01 syenar.hu) * 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 to TODOs in source.
Viktor Szakats
2009-10-14 16:48:25 +00:00
ae81a3de53
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.
Przemyslaw Czerpak
2009-10-14 15:19:16 +00:00
5f38a49c13
2009-10-14 13:43 UTC+0200 Viktor Szakats (harbour.01 syenar.hu) * 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.
Viktor Szakats
2009-10-14 11:45:07 +00:00
64e135a7ac
2009-10-14 10:18 UTC+0200 Viktor Szakats (harbour.01 syenar.hu) * 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.
Viktor Szakats
2009-10-14 08:24:38 +00:00
f2932c93b2
2009-10-13 20:02 UTC+0200 Viktor Szakats (harbour.01 syenar.hu) * contrib/hbwin/tests/testole.prg + Added SOAP client call example. Based on the one sent to the dev list by Marek Horodyski.
Viktor Szakats
2009-10-13 18:03:23 +00:00
cba2bdd09f
2009-10-13 17:51 UTC+0200 Viktor Szakats (harbour.01 syenar.hu) * 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 cmdline 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.
Viktor Szakats
2009-10-13 15:52:57 +00:00
1007cfa311
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
Przemyslaw Czerpak
2009-10-13 14:47:49 +00:00
4522500293
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.
Przemyslaw Czerpak
2009-10-13 13:17:15 +00:00
cef64f9ba4
2009-10-13 12:40 UTC+0200 Viktor Szakats (harbour.01 syenar.hu) * 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>)
Viktor Szakats
2009-10-13 10:41:18 +00:00
790f8fc290
2009-10-13 02:42 UTC+0200 Viktor Szakats (harbour.01 syenar.hu) * contrib/hbtip/sendmail.prg + Fixed to allow inclusion of descriptive name in "from" address.
Viktor Szakats
2009-10-13 00:44:12 +00:00
0cc5bbb822
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
Francesco Saverio Giudice
2009-10-12 22:22:37 +00:00
d78216683c
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.
Francesco Saverio Giudice
2009-10-12 20:34:07 +00:00
da59779fda
2009-10-12 18:42 UTC+0200 Viktor Szakats (harbour.01 syenar.hu) * contrib/hbtip/sendmail.prg ! Fixed wrongly referring to 7-bit encoding. ! Fixed some more hardcoded charsets. + Added support for user-selectable encoding. ; TOFIX: Still doesn't work for some reason.
Viktor Szakats
2009-10-12 16:48:28 +00:00