Commit Graph

  • 6054f2132d 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. Mindaugas Kavaliauskas 2009-01-22 16:21:57 +00:00
  • 5ff136ef1f 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 Lorenzo Fiorini 2009-01-22 09:16:45 +00:00
  • 911bb802a4 Lorenzo Fiorini 2009-01-22 08:31:46 +00:00
  • 1b4ba5148c 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. Francesco Saverio Giudice 2009-01-22 00:09:52 +00:00
  • 14c88c9406 minor typo Viktor Szakats 2009-01-21 20:47:46 +00:00
  • a83b7dcdce 2009-01-21 21:46 UTC+0100 Viktor Szakats (harbour.01 syenar hu) * contrib/hbhpdf/harupdf.ch * contrib/hbhpdf/harupdf.c + Added HPDF_VERSION_TEXT() function which returns the libharu version hbhpdf was linked against. - Removed #defined HPDF_VERSION_TEXT with hard-wired libharu version. Viktor Szakats 2009-01-21 20:46:58 +00:00
  • 93fab23315 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() Przemyslaw Czerpak 2009-01-21 16:49:03 +00:00
  • b674f9cb99 2009-01-21 17:38 UTC+0100 Francesco Saverio Giudice (info/at/fsgiudice.com) * harbour/Changelog * missed upload Francesco Saverio Giudice 2009-01-21 16:38:54 +00:00
  • f1fa8fc24a 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 Francesco Saverio Giudice 2009-01-21 16:03:40 +00:00
  • c2f7b962d4 Lorenzo Fiorini 2009-01-21 15:43:52 +00:00
  • d5b2619490 2009-01-21 10:43 UTC+0100 Viktor Szakats (harbour.01 syenar hu) * include/hbextern.ch + Added new .prg functions. Viktor Szakats 2009-01-21 09:43:16 +00:00
  • 2e7e6971ad 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 Przemyslaw Czerpak 2009-01-21 09:37:45 +00:00
  • 079f7c9859 2009-01-21 10:02 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/ChangeLog * cleaned some typos Przemyslaw Czerpak 2009-01-21 08:59:24 +00:00
  • 4ba2c27af5 2009-01-20 23:04 UTC+0100 Viktor Szakats (harbour.01 syenar hu) * contrib/hbcrypt/sha1.c ! Fixed some BCC warnings. Viktor Szakats 2009-01-20 22:04:39 +00:00
  • 5f057a4265 2009-01-20 23:00 UTC+0100 Viktor Szakats (harbour.01 syenar hu) * contrib/hbcrypt/sha1.c ! Added #include <string.h> for mem*(). Viktor Szakats 2009-01-20 22:01:14 +00:00
  • 820b5e89f6 2009-01-20 22:51 UTC+0100 Viktor Szakats (harbour.01 syenar hu) * contrib/hbcrypt/tests/testsha2.prg ! Fixed typo in some last minute (and untested) modifications. Viktor Szakats 2009-01-20 21:51:57 +00:00
  • bc34aa71bb 2009-01-20 20:47 UTC+0100 Viktor Szakats (harbour.01 syenar hu) * 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() 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. Viktor Szakats 2009-01-20 19:56:40 +00:00
  • eb06297b42 2009-01-20 17:29 UTC+0100 Viktor Szakats (harbour.01 syenar hu) * contrib/hbhpdf/harupdf.c ! HPDF_SETINFODATEATTR() fixed taking date/time from the wrong parameter. ! HPDF_SETINFODATEATTR() fixed to initialize the date structure passed to libharu. Viktor Szakats 2009-01-20 16:32:48 +00:00
  • 97d48cbd6d 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 Francesco Saverio Giudice 2009-01-19 23:19:32 +00:00
  • a602ff7193 2009-01-19 23:43 UTC+0100 Francesco Saverio Giudice (info/at/fsgiudice.com) * harbour/Changelog * fixed path of previous upload Francesco Saverio Giudice 2009-01-19 22:44:26 +00:00
  • 8f7a4429ae 2009-01-19 23:39 UTC+0100 Francesco Saverio Giudice (info/at/fsgiudice.com) + harbour/contrib/examples/uhttpd + harbour/contrib/examples/socket.c + harbour/contrib/examples/uhttpd.prg + harbour/contrib/examples/hbmk_b32.bat + harbour/contrib/examples/readme.txt + harbour/contrib/examples/home + harbour/contrib/examples/home/cgi-bin + harbour/contrib/examples/home/counter.html + harbour/contrib/examples/home/css + harbour/contrib/examples/home/css/base.css + harbour/contrib/examples/home/favicon.ico + harbour/contrib/examples/home/images + harbour/contrib/examples/home/images/ajax-loader.gif + harbour/contrib/examples/home/index.html + harbour/contrib/examples/home/js + harbour/contrib/examples/home/js/ajax.js + harbour/contrib/examples/home/testajax.html + harbour/contrib/examples/home/testxmldb.html + harbour/contrib/examples/home/xsl + harbour/contrib/examples/home/xsl/based.xsl + harbour/contrib/examples/home/xsl/basep.xsl + harbour/contrib/examples/logs + harbour/contrib/examples/modules + harbour/contrib/examples/modules/bldhrb.bat + harbour/contrib/examples/modules/showcounter.prg + harbour/contrib/examples/modules/tableservletdb.prg + harbour/contrib/examples/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. Francesco Saverio Giudice 2009-01-19 22:40:07 +00:00
  • 603ad8a1fd 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 Przemyslaw Czerpak 2009-01-19 21:13:58 +00:00
  • 4f94ab2609 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 Przemyslaw Czerpak 2009-01-19 20:34:54 +00:00
  • eea5355ce8 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 Przemyslaw Czerpak 2009-01-19 18:30:49 +00:00
  • de50c76fca 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 Przemyslaw Czerpak 2009-01-19 12:06:51 +00:00
  • 85d9bb78b6 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. Przemyslaw Czerpak 2009-01-19 11:54:04 +00:00
  • 7f2ee1ad0b 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 Przemyslaw Czerpak 2009-01-18 21:08:29 +00:00
  • be621dfd81 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. Viktor Szakats 2009-01-17 18:21:41 +00:00
  • 507ea35468 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 Przemyslaw Czerpak 2009-01-17 02:35:29 +00:00
  • bd83bd4675 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. Francesco Saverio Giudice 2009-01-16 21:07:11 +00:00
  • 5b25596549 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. Francesco Saverio Giudice 2009-01-16 20:49:18 +00:00
  • 073b3a8fc9 2009-01-16 16:01 UTC+0100 Viktor Szakats (harbour.01 syenar hu) * contrib/examples/misc/guess.prg * Formatting. (just to test SVN commit hook). Viktor Szakats 2009-01-16 15:01:58 +00:00
  • 509b2f8ae8 Viktor Szakats 2009-01-16 11:36:54 +00:00
  • 70b6421f40 testing hook Viktor Szakats 2009-01-16 11:26:53 +00:00
  • bb03d2bc41 2009-01-16 01:30 UTC+0100 Viktor Szakats (harbour.01 syenar hu) * contrib/hbct/video.c * contrib/hbct/pack.c * contrib/hbct/disk.c * Minor formatting. Viktor Szakats 2009-01-16 00:31:36 +00:00
  • fb63b296fb 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 Teo Fonrouge 2009-01-16 00:24:14 +00:00
  • 45bea5a9f2 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 Przemyslaw Czerpak 2009-01-16 00:06:27 +00:00
  • e35f05643b Added ending EOLs Viktor Szakats 2009-01-15 23:29:36 +00:00
  • 92757facfd 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. Francesco Saverio Giudice 2009-01-15 23:15:18 +00:00
  • 1ab68f54c7 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. Francesco Saverio Giudice 2009-01-15 22:09:30 +00:00
  • b8ada85edc 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 Przemyslaw Czerpak 2009-01-15 20:23:51 +00:00
  • 14a0be1f2d 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 Przemyslaw Czerpak 2009-01-15 19:49:20 +00:00
  • 4967de721b 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 Przemyslaw Czerpak 2009-01-15 12:45:16 +00:00
  • 86149957de 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 Mindaugas Kavaliauskas 2009-01-15 02:38:00 +00:00
  • 8fb64a9c0c 2009-01-15 00:46 UTC+0100 Viktor Szakats (harbour.01 syenar hu) * 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. Viktor Szakats 2009-01-15 01:39:54 +00:00
  • 61ac0ae0b4 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 Mindaugas Kavaliauskas 2009-01-15 01:14:11 +00:00
  • ef6ac0d18c 2009-01-18 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.). Francesco Saverio Giudice 2009-01-14 20:39:15 +00:00
  • d78768d645 minor Viktor Szakats 2009-01-14 16:53:04 +00:00
  • 615b317e24 2009-01-04 17:51 UTC+0100 Viktor Szakats (harbour.01 syenar hu) * 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. Viktor Szakats 2009-01-14 16:52:18 +00:00
  • aa448d51de minor correction Viktor Szakats 2009-01-14 15:41:02 +00:00
  • 1e62fb550e 2009-01-14 16:15 UTC+0100 Viktor Szakats (harbour.01 syenar hu) * source/rtl/net.c * contrib/hbziparc/hbziparc.prg * contrib/hbct/files.c * Minor formatting. Viktor Szakats 2009-01-14 15:32:43 +00:00
  • f8fb9eca27 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 Mindaugas Kavaliauskas 2009-01-14 13:13:22 +00:00
  • 39ffeed5f9 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 Przemyslaw Czerpak 2009-01-14 00:35:33 +00:00
  • 558525e5b5 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 Przemyslaw Czerpak 2009-01-13 21:41:13 +00:00
  • 8b846abb6b 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 Mindaugas Kavaliauskas 2009-01-13 18:05:52 +00:00
  • f25fe9222d 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. Pritpal Bedi 2009-01-13 15:22:27 +00:00
  • 3b6d1242e5 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. Przemyslaw Czerpak 2009-01-13 13:04:01 +00:00
  • a152f6391f 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) Przemyslaw Czerpak 2009-01-12 22:32:12 +00:00
  • 2f67d77856 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. Przemyslaw Czerpak 2009-01-12 14:12:24 +00:00
  • 2f646dcc29 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 ; TOFIX intorduce 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 Przemyslaw Czerpak 2009-01-09 16:56:32 +00:00
  • 3053dfae50 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 (2-nd 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 Przemyslaw Czerpak 2009-01-09 12:32:09 +00:00
  • 191fe46098 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(). Maurilio Longo 2009-01-09 12:00:57 +00:00
  • 06c4d78cb4 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 Przemyslaw Czerpak 2009-01-09 00:21:25 +00:00
  • 358ff82162 2009-01-08 20:55 UTC+0100 Francesco Saverio Giudice (info/at/fsgiudice.com) * harbour/contrib/xhb/cstruct.prg * fixed assigned but unused variable Francesco Saverio Giudice 2009-01-08 19:56:37 +00:00
  • ff670e6c36 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 Mindaugas Kavaliauskas 2009-01-08 11:16:23 +00:00
  • cc64a7d5f0 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. Teo Fonrouge 2009-01-07 19:57:52 +00:00
  • 1b05bdd9b3 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 Przemyslaw Czerpak 2009-01-05 17:17:35 +00:00
  • c2a1acc14c 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 Przemyslaw Czerpak 2009-01-05 12:31:02 +00:00
  • 479c738c83 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 Przemyslaw Czerpak 2008-12-31 13:09:30 +00:00
  • c19ebf700e 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 Mindaugas Kavaliauskas 2008-12-30 16:14:01 +00:00
  • 7a7a4856c9 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 &macro. Such expressions cannot be optimized if -kM compiler switch is not used, f.e.: M->V := "ABC" ? "[&V]" == "[ABC]" ! fixed <cConst1> $ <cConst2> => <lConst> optimizations if <cConst1> or <cConst2> contains valid &macro. Such expressions cannot be optimized if -kM compiler switch is not used, f.e.: M->V := "ABC" ? "[&V]" $ " [ABC] " % do not disable <cConst1> + <cConst2> => <cConst> and <cConst1> - <cConst2> => <cConst> optimization when <cConst1> or <cConst2> contains valid &macro but -kM compiler switch is used. Przemyslaw Czerpak 2008-12-30 10:59:43 +00:00
  • b8e1c81cba 2008-12-29 20:23 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/hbct/disk.c ! fixed dirname() - thanks to Saulius Przemyslaw Czerpak 2008-12-29 19:20:15 +00:00
  • 1624a58420 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. Przemyslaw Czerpak 2008-12-29 18:17:45 +00:00
  • 3b19294476 2008-12-29 19:33 UTC+0200 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt) * harbour/contrib/rddsql/sddfb/fbirddd.c ! fixed a few type castings Mindaugas Kavaliauskas 2008-12-29 17:35:13 +00:00
  • 857e1532ea 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 Przemyslaw Czerpak 2008-12-27 17:17:26 +00:00
  • 94074fac4c 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 Przemyslaw Czerpak 2008-12-27 16:44:33 +00:00
  • 9df51fbe3e 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 Mindaugas Kavaliauskas 2008-12-27 16:08:47 +00:00
  • 65644f22a1 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 Przemyslaw Czerpak 2008-12-27 14:29:30 +00:00
  • 2f91dc9823 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 Mindaugas Kavaliauskas 2008-12-25 22:35:43 +00:00
  • 9a99a783fe 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 Francesco Saverio Giudice 2008-12-25 22:09:02 +00:00
  • ef6ed5e4f5 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 Mindaugas Kavaliauskas 2008-12-25 09:33:35 +00:00
  • d2856c340f 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 WinXP: 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 WinXP: Ticks per second: 384306.138 Min/avg/max interval (ms): 0.001 / 0.003 / 11.112 Loops per tick: 1.04 Mindaugas Kavaliauskas 2008-12-25 09:12:32 +00:00
  • eda7f60d35 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 Mindaugas Kavaliauskas 2008-12-25 06:21:03 +00:00
  • 9da0302bb5 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 ... ; TOFIX: I was unable to manage build files. 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 neccessary) build files for unix Mindaugas Kavaliauskas 2008-12-25 06:06:16 +00:00
  • 476002a752 2008-12-24 12:23 UTC-0600 Teo Fonrouge (teo/at/windtelsoft/dot/com) * include/Makefile + added hbrddnsx.h header Teo Fonrouge 2008-12-24 18:24:05 +00:00
  • b1ded1ebb4 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 :) Teo Fonrouge 2008-12-24 17:52:06 +00:00
  • 623a91bcc6 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 Przemyslaw Czerpak 2008-12-24 13:34:05 +00:00
  • 510e54c948 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. Przemyslaw Czerpak 2008-12-24 12:29:54 +00:00
  • 290c194483 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 ;-) Przemyslaw Czerpak 2008-12-24 08:43:07 +00:00
  • 6bd4ceb2c9 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. Przemyslaw Czerpak 2008-12-24 03:53:26 +00:00
  • e3b721a3ba 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 Mindaugas Kavaliauskas 2008-12-24 01:22:16 +00:00
  • 9e2ee8d66e 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 Przemyslaw Czerpak 2008-12-23 23:02:06 +00:00
  • 380aa521ab 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. Przemyslaw Czerpak 2008-12-23 14:42:32 +00:00
  • 20271ae59a 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 Przemyslaw Czerpak 2008-12-23 02:08:51 +00:00
  • b16bf45375 2008-12-22 16:30 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/ChangeLog ! cleaned some typos in my recent ChangeLog entries Przemyslaw Czerpak 2008-12-22 15:28:29 +00:00
  • 7c72dc1cda 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. Pritpal Bedi 2008-12-20 17:46:47 +00:00
  • f4eb0c1b8d 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 Francesco Saverio Giudice 2008-12-20 17:35:32 +00:00
  • 84b3fae4fd 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. Przemyslaw Czerpak 2008-12-19 19:23:49 +00:00
  • 6b668123d6 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. Przemyslaw Czerpak 2008-12-19 18:44:35 +00:00
  • 81b40cd232 2008-12-19 18:25 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/compiler/hbopt.c * pacified GCC warning Przemyslaw Czerpak 2008-12-19 17:22:52 +00:00