Commit Graph

  • 3abb37f67e 2015-10-12 13:32 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/rtl/mlcfunc.c * execute hb_MLEval() codeblock for last empty line if passed string ends with EOL Przemysław Czerpak 2015-10-12 13:32:24 +02:00
  • f7b7e30c36 2015-10-12 12:56 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/rtl/hbsocket.c ! added casting to 2-nd parameter of inet_ntop() as workaround for wrong declaration inet_ntop() in MSVC header file Przemysław Czerpak 2015-10-12 12:56:41 +02:00
  • d5a11a9abe 2015-10-09 13:38 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/rtl/hbsocket.c ! fixed typo (unnecessary parenthesis) in previous commit * enabled getnameinfo() in MSVS 2015 builds ; thanks to Viktor for the information about above items Przemysław Czerpak 2015-10-09 13:38:37 +02:00
  • 7d9bd3b96d 2015-10-09 11:13 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/rtl/hbsocket.c * enabled inet_pton(), inet_ntop() and getaddrinfo() in MSVS 2015 builds Przemysław Czerpak 2015-10-09 11:13:20 +02:00
  • 3c35a01400 2015-10-08 22:07 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/rtl/gttone.c ! fixed typo in my previous commit - thanks to Ronaldo Przemysław Czerpak 2015-10-08 22:07:59 +02:00
  • f3de17319b 2015-10-08 19:10 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/rtl/gttone.c ! disabled IO port access MSVS 2015 builds Przemysław Czerpak 2015-10-08 19:10:34 +02:00
  • 25d9caffb4 2015-10-08 14:26 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/rtl/hbzsock.c ! fixed two typos Przemysław Czerpak 2015-10-08 14:26:24 +02:00
  • c14e707b0a 2015-10-06 13:07 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/compiler/compi18n.c * reduced variable scope * small modification to eliminate false GCC-5.x warning Przemysław Czerpak 2015-10-06 13:07:50 +02:00
  • db11c4a1cf 2015-10-06 12:37 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/rtl/hbbfsock.c ! typo in comment Przemysław Czerpak 2015-10-06 12:37:29 +02:00
  • d32d766c98 2015-10-02 16:45 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * include/hbapigt.h * src/rtl/inkeyapi.c + added new C function: int hb_inkeyKeyExt( int iKey ); It extracts function/edit key code value HB_KX_* from Harbour extended key code. If passed keycode is not valid extended keycode which points to function/edit key then 0 is returned. Przemysław Czerpak 2015-10-02 16:45:17 +02:00
  • a46d22c9d7 2015-09-30 11:18 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/vm/hvm.c ! added missing support for non MT builds in last commit Przemysław Czerpak 2015-09-30 11:18:54 +02:00
  • 6458e3a963 2015-09-30 10:55 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * include/harbour.hbx * src/vm/hvm.c + added internal PRG function to test number of HVM threads and stacks __vmCountThreads( [ @<nStacks> ], [ @<nThreads> ] ) -> <nThreads> Przemysław Czerpak 2015-09-30 10:55:41 +02:00
  • 5eca8eab92 2015-09-29 21:24 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/vm/hvm.c ! delay locking of main HVM thread stack until HVM is initialized, it fixes issue #107 ! protect access to HB_STACK_TLS_PRELOAD by s_fHVMActive in hb_vmLockForce() Przemysław Czerpak 2015-09-29 21:24:15 +02:00
  • 7c0914cd43 2015-09-25 11:41 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/rtl/filebuf.c ! removed unnecessary HB_EXPORT attribute Przemysław Czerpak 2015-09-25 11:41:09 +02:00
  • 004399c75d 2015-09-24 22:14 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/rtl/hbcom.c * src/rtl/gtcrs/gtcrs.c * src/rtl/gtpca/gtpca.c * src/rtl/gtstd/gtstd.c * src/rtl/gttrm/gttrm.c * added workaround for bug in some Linux kernels (i.e. 3.13.0-64-generic Ubuntu) in which select() unconditionally accepts terminal device for reading if c_cc[ VMIN ] = 0 It's very serious problem, i.e. in GTTRM no input is possible in such kernels without this workaround. Przemysław Czerpak 2015-09-24 22:14:14 +02:00
  • f3f218f2d4 2015-09-24 14:28 UTC+0200 Tamas TEVESZ (ice extreme.hu) * utils/hbmk2/hbmk2.prg + Partially merge 8f16b6731 from vszakats/harbour-core: "refined the way pkg-config queries the package version. Now it does it in a separate call to make some pkg-config versions happy where version query option cannot be mixed with --cflags and similar options (f.e. pkg-config 0.28 in current homebrew)." Tamas TEVESZ 2015-09-24 14:56:59 +02:00
  • 2ca29eafd1 2015-09-18 13:15 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/common/hbffind.c + added support for link attribute (HB_FA_LINK -> "L") passed to Directory() and other functions using hb_fsFindFirst()/hb_fsFindNext() When this attribute is passed then softlinks are presented "as is" without following target. Przemysław Czerpak 2015-09-18 13:16:00 +02:00
  • 9dfe637b94 2015-09-17 20:04 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/rtl/hbproces.c ! added protection against writing more then 4096 bytes to unblocked pipe in MS-Windows builds of hb_fsProcessRun() ! close write side of child stdin handle if all data is sent in OS2 builds of hb_fsProcessRun() Przemysław Czerpak 2015-09-17 20:04:03 +02:00
  • 4e94bbfa6c 2015-09-17 16:07 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/rtl/hbproces.c * In OS2 builds use fGentle parameter of hb_fsProcessClose() to control if kill signal should be send only to child process or also to its all descendant processes. Przemysław Czerpak 2015-09-17 16:07:26 +02:00
  • 2f8794d92d 2015-09-17 15:58 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/rtl/filesys.c * pacified warnings in GCC OS2 builds Przemysław Czerpak 2015-09-17 15:58:23 +02:00
  • 96a0d522c2 2015-09-17 15:52 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/rtl/fscopy.c * pacified BCC warning Przemysław Czerpak 2015-09-17 15:52:17 +02:00
  • ee07a735de 2015-09-17 12:23 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * include/hbapicls.h * src/vm/classes.c * minor modification in variable name Przemysław Czerpak 2015-09-17 12:23:29 +02:00
  • 026408a2bb 2015-09-17 10:58 UTC+0200 Tamas TEVESZ (ice extreme.hu) * contrib/gtqtc/gtqtc.hbp + Qt5 include path on FreeBSD Tamas TEVESZ 2015-09-17 10:58:50 +02:00
  • aaf15b18f1 2015-09-16 10:20 UTC+0200 Tamas TEVESZ (ice extreme.hu) * config/global.mk + Allow autodetection of Clang as system compiler on FreeBSD 10+ ; Untested on, but should not affect, other BSDs or FreeBSD < 10. Tamas TEVESZ 2015-09-16 10:24:00 +02:00
  • 964c5df36f 2015-09-15 21:33 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/rtl/hbproces.c * minor formatting Przemysław Czerpak 2015-09-15 21:33:20 +02:00
  • df5488ccad 2015-09-15 21:04 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/rtl/hbproces.c ! fixed test for broken pipe when only one pipe to child process is active in OS2 builds Przemysław Czerpak 2015-09-15 21:04:34 +02:00
  • 010421f70e 2015-09-15 14:58 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * include/hbvmpub.h * src/vm/hvm.c + added support for hb_vmAtInit(), hb_vmAtExit() and hb_vmAtQuit() functions for dynamically loaded libraries This modification should also fix issue #33 Przemysław Czerpak 2015-09-15 14:58:03 +02:00
  • 7a89939039 2015-09-14 19:30 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/rtl/hbproces.c * use pipes instead of temporary files in OS2 builds of hb_fsProcessRun() ; please test in real OS2 env Przemysław Czerpak 2015-09-14 19:30:29 +02:00
  • c0142512db 2015-09-14 17:36 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/rtl/gttrm/gttrm.c - removed unused macros and definitions * formatting and minor cleanup Przemysław Czerpak 2015-09-14 17:36:57 +02:00
  • 1ff43722ed 2015-09-14 14:03 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/rdd/dbf1.c * set HB_FF_BINARY flag in numeric and date fields stored in binary representation - VFP also does it. Przemysław Czerpak 2015-09-14 14:03:56 +02:00
  • e25b622250 2015-09-14 12:40 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/rtl/filesys.c * clear ERROR_BROKEN_PIPE (109) in MS-Windows and OS2 builds reported when pear closes the write end of the pipe. Now hb_PRead() returns -1 with FError() = 0 in such case in all builds. Przemysław Czerpak 2015-09-14 12:40:09 +02:00
  • 403c57741c 2015-09-11 12:50 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/rtl/filesys.c + added code for anonymous pipes emulation by named pipes, now nonblocking access to pipe streams in OS2 builds should work Przemysław Czerpak 2015-09-11 12:50:15 +02:00
  • fcd32e5f59 2015-09-10 09:03 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/rtl/filesys.c ! use CRTL eof() function only in non DJGPP DOS builds Przemysław Czerpak 2015-09-10 09:03:23 +02:00
  • dc326d6f4a 2015-09-09 23:16 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * contrib/hbhpdf/3rd/libhpdf/hpdfimac.c ! removed obsolete memory.h Przemysław Czerpak 2015-09-09 23:16:24 +02:00
  • 46fe44162b 2015-09-09 16:51 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/vm/estack.c ! protect access to HB_STACK_TLS_PRELOAD by hb_stack_ready() macro, it's necessary for MT builds which do not use direct TLS access but need TLS key initialization, i.e. OS2 Przemysław Czerpak 2015-09-09 16:51:20 +02:00
  • 7159461d11 2015-09-09 12:55 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/common/hbfsapi.c * pacified warnings OS2 warnings reported by David Przemysław Czerpak 2015-09-09 12:55:05 +02:00
  • 03f2948f8a 2015-09-09 01:29 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/rtl/filesys.c * implemented hb_fsSetDevMode() only for DOS builds, all other platforms always use O_BINARY mode Przemysław Czerpak 2015-09-09 01:29:42 +02:00
  • d090e26669 2015-09-08 20:10 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/nortl/nortl.c + added hb_fsSetError() Przemysław Czerpak 2015-09-08 20:10:44 +02:00
  • c2b2b5df90 2015-09-07 16:28 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/rtl/gtos2/gtos2.c * added missing modification in previous commit Przemysław Czerpak 2015-09-07 16:28:19 +02:00
  • db664c6f61 2015-09-07 16:19 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/rtl/gtos2/gtos2.c + added support for HB_GTI_CODEPAGE ! removed code which sets CP437 at application start Now the default codepage is the same set by system. If someone wants to use CP437 regardless of default OS2 settings then he should add to his code: hb_gtInfo( HB_GTI_CODEPAGE, 437 ) Przemysław Czerpak 2015-09-07 16:19:22 +02:00
  • 04839f11b4 2015-09-06 23:33 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/rtl/hbproces.c * use native OS2 system functions in hb_fsProcessOpen(), hb_fsProcessValue(), hb_fsProcessClose() - please test it ; TODO: change hb_fsProcessRun() to use real assynchrous execution in OS2 builds Przemysław Czerpak 2015-09-06 23:33:17 +02:00
  • 1d7ee5470b 2015-09-06 15:44 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/rtl/disksphb.c * src/rtl/filesys.c * use native system functions for disk and file IO operations in OS2 builds. + added support for long files (> 2GB) in OS2 builds ! fixed file IO error setting in OS2 builds ; For above modifications I had to change nearly all file IO functions in OS2 build. I would like to OS2 users to make tests. In next step I'll update hb_process*() functions. Przemysław Czerpak 2015-09-06 15:44:49 +02:00
  • 9efacf0093 2015-09-03 14:02 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * win-make.exe * updated GNU make for MS-Windows to version 4.1 (the same as in Viktor's branch) Przemysław Czerpak 2015-09-03 14:02:21 +02:00
  • 1d300dddfe 2015-09-03 14:00 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/rdd/sdf1.c ! use hb_fileResult() to process hb_fileRead() results - it fixes problem reported by Viktor. Przemysław Czerpak 2015-09-03 14:00:03 +02:00
  • 8c5c40d8b5 2015-09-02 22:53 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * ChangeLog.txt ! typos in prev ChgLog entry Przemysław Czerpak 2015-09-02 22:53:07 +02:00
  • 3fc5e437d9 2015-09-02 16:11 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * include/hbdefs.h * changed reference 32-bit reference counters in Win64 builds to 64-bit ones. It resolves problems with data alignment in memory allocated by hb_xgrab(). Przemysław Czerpak 2015-09-02 16:11:24 +02:00
  • 38af08e97d 2015-09-02 15:54 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * include/hbapifs.h * src/rtl/filebuf.c * added new C function hb_fileLoadData() - it can be used to load data from already opened regular files and streams Przemysław Czerpak 2015-09-02 15:54:08 +02:00
  • 0f9398515e 2015-09-01 23:04 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * package/harbour.spec + added HBCOMIO, HBPIPEIO, HBTCPIO to RPM package Przemysław Czerpak 2015-09-01 23:04:19 +02:00
  • 118ab63dc9 2015-09-01 22:16 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * contrib/hbplist.txt + added hbpipeio to list of contrib libraries Przemysław Czerpak 2015-09-01 22:16:18 +02:00
  • 00246c9048 2015-09-01 17:05 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * include/hbapifs.h * src/rtl/filebufd.c * moved HB_FILE_ERR_UNSUPPORTED macro to header file Przemysław Czerpak 2015-09-01 17:05:30 +02:00
  • 9a9128ea27 2015-09-01 15:07 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * ChangeLog.txt ! fixed typo in ChangeLog entry. I used hb_socketNew() instead of hb_socketSetFilter() Przemysław Czerpak 2015-09-01 15:07:03 +02:00
  • 310e2134bd 2015-08-31 23:48 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * contrib/hbnetio/netiosrv.c ! removed unnecessary casting (c&p typo) Przemysław Czerpak 2015-08-31 23:48:08 +02:00
  • db3fe4b8d4 2015-08-31 23:43 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * contrib/hbmzip/mzip.c * contrib/hbnetio/netiocli.c * contrib/hbnetio/netiosrv.c * contrib/hbwin/win_prn2.c * contrib/xhb/xhbcopyf.c * src/rdd/dbffpt/dbffpt1.c * src/rdd/dbfnsx/dbfnsx1.c * src/rdd/delim1.c * src/rdd/hbsix/sxcompr.c * src/rdd/sdf1.c * src/rtl/copyfile.c * src/rtl/filesys.c * src/rtl/fscopy.c * src/rtl/hbmd5.c * src/rtl/memofile.c * src/rtl/philes.c * src/rtl/vfile.c * updated for possible -1 result returned by hb_fileRead()/hb_fileWrite() Przemysław Czerpak 2015-08-31 23:43:30 +02:00
  • b6ddc55575 2015-08-31 16:49 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * include/harbour.hbx + added hb_socketAutoShutdown() Przemysław Czerpak 2015-08-31 16:49:47 +02:00
  • f90e0be4fd 2015-08-31 13:26 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/rtl/hbsockhb.c + added new PRG function: hb_socketAutoShutdown( hSocket, [ lNewSetting ] ) --> lPrevSetting it allows to enable/disable automatic shutdown when connected socket is closed. Przemysław Czerpak 2015-08-31 13:26:26 +02:00
  • 2606996d15 2015-08-31 12:45 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * contrib/hbtcpio/tcpio.c * contrib/hbpipeio/pipeio.c * modified hb_fileWrite() to return 0 in case of timeout or unblocking write and -1 on other errors. Przemysław Czerpak 2015-08-31 12:45:47 +02:00
  • ce68e02a15 2015-08-27 17:49 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) + contrib/hbpipeio/hbpipeio.hbc + contrib/hbpipeio/hbpipeio.hbp + contrib/hbpipeio/hbpipeio.hbx + contrib/hbpipeio/pipeio.c + contrib/hbpipeio/tests/hbmk.hbm + contrib/hbpipeio/tests/test.prg + added PIPEIO new Harbour FILE IO redirector As file name prefix "PIPE:" and "|" can be used. This redirector executes command passed as file name with its stdin and stdout handles redirected to Harbour FILE handle, i.e.: Przemysław Czerpak 2015-08-27 17:49:32 +02:00
  • 1be1c7da9c 2015-08-27 16:46 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * include/fileio.ch + added few HB_VF_* macros for hb_vfConfig() settings Przemysław Czerpak 2015-08-27 16:46:12 +02:00
  • a5b0ab6fc2 2015-08-26 16:21 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/rtl/hbzsock.c * pacified warning Przemysław Czerpak 2015-08-26 16:21:20 +02:00
  • 41b8ecb6c7 2015-08-26 15:51 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * include/hbsocket.h * src/rtl/hbsockhb.c + added socket filters to standard socket API. At C level hb_sockex*() function with PHB_SOCKEX handler can be used to operate on socket filters. At PRG level standard hb_socket*() functions can be used. The following things has been changed in PRG hb_socket*() functions: hb_socketErorrString() can accept <pSocket> as 1-st or 2-nd parameter and redirect call to socket filter errorStr() method. hb_socketClose() executes automatically shutdown() for connected sockets - it is important in windows only where without explicit call to shutdown() before close transmitted data can be lost. hb_socketSend() and hb_socketRecv() can be redirected to filter streams if filter set such redirection. If filter does not redirect them then they operate on raw sockets. If hb_socketSend() is redirected then sent data is flushed automatically. The following new PRG functions has been added: Add/replace socket filter: hb_socketSetFilter( <pSocket>, [<cFilterName>], [<hParams>] ) -> <pSocket> | NIL <cFilterName> is filter name, It's possible to set many filters in single hb_socketSetFilter() call separating filter names with "|" character, i.e.: pSock := hb_socketSetFilter( pSock, "ZSOCK|BFSOCK", hParams ) <hParams> is hash array with initialization parameters used by given socket filter. The core implementation recognize the following settings: "readahead" - numeric value with size of read ahead buffer "flush" - numeric value with auto flush parameter (for more information look at hb_socketAutoFlush() below) "redir" - logical value which can be use to enable/disable hb_socketSend() and hb_socketRecv() redirection to filter stream. Return filter name used by socket: hb_socketGetFilter( <pSocket> ) -> <cFilterName> Read from socket stream: hb_socketRead( <pSocket>, @<cData>, [<nLen> = Len( cData )], [<nTimeout> = FOREVER] ) -> <nRead> this function is similar to hb_socketRecv() but is always redirected to socket stream filters. Write to socket stream: hb_socketWrite( <pSocket>, <cData>, [<nLen> = Len( cData )], [<nTimeout> = FOREVER] ) -> <nWritten> this function is similar to hb_socketSend() but it is always redirected to socket stream filters. Written data is not flushed by default and it should be flushed explicitly by hb_socketFlush(). Automatic flushing can be enabled by hb_socketAutoFlush() function. Flush data written to socket: hb_socketFlush( <pSocket>, [<nTimeout> = FOREVER], [<lSync>] ) -> <nNotFlushed> <lSync> parameter is logical value which can be used to force special synchronization method in some filters. Usually users do not have to use it in normal code. Enable/disable automatic flushing of written data. hb_socketAutoFlush( <pSocket>, [ <nTimeout> ] ) -> <nTimeout> <nTimeout> is timeout for automatic flush operation on written data in milliseconds. <nTimeout> = -1 means wait forever and <nTimeout> = 0 disables auto flush. automatic flushing can help in adopting existing code anyhow it may strongly reduce the performance in some filters, i.e. compression filters like ZSOCK have to add special data to the stream after each flush operation so it's suggested to call flush explicitly when we want to force delivering written data to the peer. Przemysław Czerpak 2015-08-26 15:51:35 +02:00
  • 864a1a106e 2015-08-17 15:39 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * include/hbznet.h + include hbsocket.h Przemysław Czerpak 2015-08-17 15:39:58 +02:00
  • 482e06d0fd 2015-08-17 15:29 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * include/hbsocket.h * src/rtl/hbsocket.c * src/rtl/hbsockhb.c + added new C functions: hb_socketAutoInit( void ); hb_socketSetError( int iError ); Przemysław Czerpak 2015-08-17 15:29:43 +02:00
  • 8bc6d4a0e9 2015-08-07 16:07 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/rtl/filesys.c * removed dummy code left by mistake Przemysław Czerpak 2015-08-07 16:07:30 +02:00
  • dc5937b990 2015-08-07 15:40 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * contrib/hbtcpio/tcpio.c * contrib/hbtcpio/hbtcpio.hbx + added new PRG function hb_vfFromSocket( <pSocket> ) -> <pFile> It converts socket created by socket open into TCPIP virtual file which works just like files created by hb_vfOpen( "tcp:...", ... ) Przemysław Czerpak 2015-08-07 15:40:40 +02:00
  • 7a80a882ab 2015-08-01 13:14 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/vm/asort.c * restored original loop and added different workaround which for the problem in 64 bit MinGW we exploited. It's dummy function call inside a loop so probably link time optimization (LTO is enabled by -O4 in the newest GCC versions) ignore it and the problem will reappear. Anyhow it only temporary solution which should give time to create self contain example and report the problem to MinGW authors - it's highly possible that also other code exploited this problem so be careful with MinGW64. % fixed index range checking to eliminate unnecessary index verification Przemysław Czerpak 2015-08-01 13:14:30 +02:00
  • f9dd95c243 2015-08-01 01:28 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/vm/asort.c * added workaround for bug in 64 bit MinGW builds Przemysław Czerpak 2015-08-01 01:28:33 +02:00
  • 748cf7e81f 2015-07-31 17:12 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/vm/asort.c ! fixed missing nStart checking during array items reordering Przemysław Czerpak 2015-07-31 17:12:25 +02:00
  • 964e9a6695 2015-07-31 16:42 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/rtl/gtxwc/gtxwc.c * src/rtl/mlcfunc.c * pacified new GCC C++ warnings Przemysław Czerpak 2015-07-31 16:42:52 +02:00
  • 9e318add44 2015-07-31 16:01 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/vm/asort.c % added new code for ASort() Warning: new sorting algorithm is stable (does not change the order of equal items). It means is not strictly Cl*pper compatible and it can be seen some dummy ASort() tests in HBTEST results. Przemysław Czerpak 2015-07-31 16:01:33 +02:00
  • 78c1d987db 2015-07-31 14:51 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) 2015-07-31 14:04 UTC+0200 Viktor Szakats (vszakats users.noreply.github.com) * include/hbapifs.h * src/rtl/filebuf.c * src/rtl/vfile.c + add C-level hb_fileSizeGet() function * update HB_VFSIZE() to use hb_fileSizeGet() when passed a filename It means now HB_VFSIZE() works for non-virtual filenames just like HB_FSIZE() did. Przemysław Czerpak 2015-07-31 14:51:22 +02:00
  • 72d3e97284 2015-07-28 01:39 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/rtl/padx.c ! fixed typo in hb_UPad[LRC]() functions - thanks to Grigory Filatov Przemysław Czerpak 2015-07-28 01:39:58 +02:00
  • 97c8e95c22 2015-07-27 18:41 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/rtl/teditor.prg ! fixed hb_ULen() wrongly used instead of Len() for arrays % use byte oriented functions (hb_B*()) instead of character ones (hb_U*()) to update color strings Przemysław Czerpak 2015-07-27 18:41:14 +02:00
  • ddea7f90cb 2015-07-27 16:36 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/rtl/chruni.c * added new functions hb_BStuff() and hb_UStuff() Przemysław Czerpak 2015-07-27 16:36:46 +02:00
  • 7c7099b6dd 2015-07-24 18:55 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/rtl/vfile.c ! fixed typo in my last commit (Thanks to Viktor for verification) Przemysław Czerpak 2015-07-24 18:55:33 +02:00
  • a173d31af9 2015-07-24 10:28 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * include/hbapifs.h * src/rtl/filebuf.c * src/rtl/filebufd.c * src/rtl/filesys.c * src/rtl/vfile.c * src/rtl/iousr.c * src/rdd/dbfcdx/dbfcdx1.c * src/rdd/dbffpt/dbffpt1.c * src/rdd/dbfnsx/dbfnsx1.c * src/rdd/dbfntx/dbfntx1.c * src/rdd/hsx/hsx.c * contrib/hbcomio/comio.c * contrib/hbmemio/memio.c * contrib/hbtcpio/tcpio.c * contrib/hbnetio/netio.h * contrib/hbnetio/netiocli.c * contrib/hbnetio/netiosrv.c * changed HB_USHORT uiAttr parameter to HB_FATTR nAttr in hb_fsExtOpen() and hb_fileExtOpen() Przemysław Czerpak 2015-07-24 10:28:12 +02:00
  • cedddef2b3 2015-07-20 17:02 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/rtl/gttrm/gttrm.c + added support for aixterm colors escape sequences. It can be enabled by //GTTRM:EXCLR=4 Przemysław Czerpak 2015-07-20 17:02:57 +02:00
  • f68f4fd627 2015-07-16 17:10 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/rtl/gttrm/gttrm.c * gives the highest priority to terminal type specified by <params> in //gttrm:<params> switch + added support for extended XTERM colors. It can be enabled by EXCLR GTTRM parameter. So far GTTRM used only standard 8 ANSI colors combined with BOLD and BLINK attributes to highlight text and/or background. Such functionality is supported by nearly all color terminals so is well portable but in some cases BOLD and BLINK attributes where interpreted differently. Now for XTERM compatible terminals GTTRM can use also other methods of color settings. They can be enabled by //gttrm:exclr<n> application command line switch, i.e.: //GTTRM:EXCLR=0 - use 8 ANSI colors with BLINK and BOLD attributes (current default behavior) //GTTRM:EXCLR=1 - use XTERM 16 extended colors //GTTRM:EXCLR=2 - use XTERM 256 extended colors //GTTRM:EXCLR=3 - use XTERM RGB colors (//GTTRM:EXCLR without number is the same as //GTTRM:EXCLR=1) If terminal supports XTERM extended color escape sequences then it's possible to enable 16 colors even if BLINK and BOLD does not do that and if terminal support XTERM RGB color escape sequences then also colors set by HB_GTI_PALETTE will be shown (so far HB_GTI_PALETTE in GTTRM was working only for Linux and PuTTY which support: ESC ] P <n> <rr> <gg> <bb> escape sequence). Warning: I added above modes to test different terminals. It's possible that I'll change it after tests. Przemysław Czerpak 2015-07-16 17:10:34 +02:00
  • b45d22b385 2015-07-14 17:51 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/rtl/gtxwc/gtxwc.c ! fixed SetMode() when HB_GTI_RESIZABLE is set to .F. Przemysław Czerpak 2015-07-14 17:51:32 +02:00
  • 8d8235ecad 2015-07-03 11:22 UTC+0200 Viktor Szakats (vszakats users.noreply.github.com) * include/harbour.hbx * src/rtl/libnamec.c + rename HB_LIBPOSTFIX() to HB_LIBSUFFIX() old name is still available, but deprecated. Viktor Szakats 2015-07-03 11:25:13 +02:00
  • 732f81f6dc 2015-06-26 14:50 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/rtl/cdpapihb.c ! typo in parameter number Przemysław Czerpak 2015-06-26 14:50:56 +02:00
  • aa76a355db 2015-06-26 14:18 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * include/harbour.hbx * src/rtl/cdpapihb.c + added new PRG function: hb_cdpIsCharIdx( [ <cCdpID> ] [, <lNewMode>] ) -> <lPrevMode> It returns .T. when given codepage uses custom character indexes instead of byte indexes. If <cCdpID> is not specified then current HVM codepage is used. Optional logical parameter <lNewMode> allows to enable/disable custom character indexes in codepages which have such functionality, i.e. UTF8, BIG5, CP950. Przemysław Czerpak 2015-06-26 14:18:23 +02:00
  • 6349d223b4 2015-06-25 16:25 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/pp/ppcore.c ! fixed compilation of initial files passed without path (broken by mistake in recent modifications) Przemysław Czerpak 2015-06-25 16:25:14 +02:00
  • db6765d665 2015-06-25 13:49 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/pp/ppcore.c ! restored previous algorithm for scanning #included files when included file is given without path Now the following(Cl*pper compatible) file search algorithm is used for files which are not marked as system headers (system headers are enclosed in <>): 1) if file name contains absolute path then open the file from the given location. If path starts with drive letter then is always used as absolute path regardless of used path separator after drive delimiter: ":" 2) if file name contains relative path then open then: a) try to access included file starting from current directory b) try to access included file starting from the path taken from the first compiled file in list of included files c) check INCLUDE paths (paths specified by -I compile switch and taken from INCLUDE envvar) 3) if file name does not contain any path then open then: a) try to access included file starting from the path taken from the first compiled file in list of included files (if it does not have any path then starting from current directory) b) check INCLUDE paths (paths specified by -I compile switch and taken from INCLUDE envvar) For files marked as system headers in #include directive (enclosed in <>) the file name is always used as relative path and Harbour scans only INCLUDE paths (-I and INCLUDE envvar). It's Harbour extension, Cl*pper does not support system headers. ; Maybe we should think about adding yet another step between (b) and (c) in case 2 above and between (a) and (b) in case 3: - try to access included file starting from the path taken from the file with #include directive It should help to create nested projects using relative paths. Maybe it should even have the highest priority. It could be important only in case of file name conflicts. Przemysław Czerpak 2015-06-25 13:49:33 +02:00
  • cc1c87e756 2015-06-24 21:09 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * contrib/hbmzip/mzip.c * src/rtl/filesys.c ! initialize tm_isdst member of tm structure with -1 to force correct local time to UTC conversion in mktime() Przemysław Czerpak 2015-06-24 21:09:58 +02:00
  • f566a9282c 2015-06-24 20:32 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/pp/ppcore.c ! fixed directory include precedence in #included files which are not marked as system headers (system headers are enclosed in <>) Now the following order is used: 1) try to access included file as is starting from current directory 2) if included file has relative path then check if the first compiled file has path and if yes try to access file using this path as start point 3) check INCLUDE paths (envvar and -I parameter) Previous version used: 2 for nested files or 1 for first file or when first file was given without path then 3. Now we are Cl*pper compatible but such version strongly depends on current directory which has the highest priority. Personally I do no like such behavior because it may give different results when current directory is changed. Przemysław Czerpak 2015-06-24 20:32:30 +02:00
  • 0adb08bdbd 2015-06-24 13:49 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * utils/hbmk2/hbmk2.prg ! fix header search algorithm to handle headers specified with _absolute paths_. This fixed the problem reported by Sergy, here: https://groups.google.com/d/msg/harbour-users/EYT9VQ9M7jk/SPtHIxpUB1oJ Using absolute path to refer to a headers inside source should be avoided and not necessary given properly setup header paths. ; merged Viktor's patch: 2015-06-23 17:50 UTC+0200 Viktor Szakats Przemysław Czerpak 2015-06-24 13:49:06 +02:00
  • c67ac9166a 2015-06-24 00:33 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/vm/classes.c ! fixed __objGetIVars() to correctly serialize objects without any own and inherited instance variables Przemysław Czerpak 2015-06-24 00:33:01 +02:00
  • e364f8634b 2015-06-17 12:39 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/rtl/filesys.c ! fixed FXO_TRUNCATE flag used without FXO_SHARELOCK in POSIX systems Viktor Szakats 2015-06-17 13:30:50 +02:00
  • a7ad431c1d 2015-06-02 13:31 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * contrib/hbtip/client.prg * eliminated hb_UserName() from initial random seed Przemysław Czerpak 2015-06-02 13:31:31 +02:00
  • c402ce1350 2015-05-27 13:56 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/rtl/Makefile * src/rtl/net.c + src/rtl/netusr.c * moved hb_UserName() to separate file. It uses internally getpwuid() in *nix builds and access to this function adds additional library dependency which may block static builds in some cases. TODO: eliminate hb_UserName() from things like initial random seed to not create unnecessary dependency. Przemysław Czerpak 2015-05-27 13:56:31 +02:00
  • 5576a9721b 2015-05-19 15:17 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/common/hbprintf.c * removed modfl() protection with old HB_OS_IPHONE macro. If someone will need it for some old iOS versions then please read it protected by HB_OS_IOS and __IPHONE_OS_VERSION_MIN_REQUIRED macros or inform me about the exact iOS version which do not support modfl() and I'll add it. Przemysław Czerpak 2015-05-19 15:17:41 +02:00
  • e8601dacaa 2015-05-18 23:01 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * include/hbsetup.h * set HB_OS_IOS when __IPHONE_OS_VERSION_MIN_REQUIRED is defined Przemysław Czerpak 2015-05-18 23:01:14 +02:00
  • c3f0ae6015 2015-05-13 16:59 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * contrib/hbct/ctwin.c ! added protection against GPF in hb_ctwGetPosWindow() called before any window is open. It's correct version of this fix. Przemysław Czerpak 2015-05-13 16:59:44 +02:00
  • 141a288ab7 2015-05-07 13:27 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/rtl/itemseri.c ! fixed stupid typo which could cause buffer overrun during serialization of hash items with default value. Tanks to Abe for reporting the problem. Przemysław Czerpak 2015-05-07 13:27:18 +02:00
  • bbf3bcf147 2015-05-05 20:06 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/rtl/disksphb.c * added default path setting in hb_fsDiskSpace() Przemysław Czerpak 2015-05-05 20:06:34 +02:00
  • 93623a1528 2015-05-05 19:50 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/rtl/vfile.c ! do not pass NULL pointer to hb_fileDirSpace() Przemysław Czerpak 2015-05-05 19:50:22 +02:00
  • f23cbd0427 2015-05-05 19:35 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/rtl/filebuf.c ! fixed GPF when NULL filename is passed to Accept() method Przemysław Czerpak 2015-05-05 19:35:29 +02:00
  • bec3dd7749 2015-05-04 12:41 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * contrib/hbmemio/memio.c ! fixed GPF in hb_VFDirectory( "mem:..." ) - many thanks to Rolf for locating the problem and fix. Przemysław Czerpak 2015-05-04 12:41:25 +02:00
  • b0b23e0e94 2015-04-27 17:21 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/rdd/workarea.c ! fixed typo in RDDI_AUTOORDER type - it should be numeric just like in _SET_AUTORDER. Many thanks to Rolf for locating the problem Przemysław Czerpak 2015-04-27 17:21:07 +02:00
  • 5d691b9923 2015-04-09 00:20 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * contrib/hbnetio/netiosrv.c * contrib/hbtcpio/tcpio.c * call hb_socketShutdown() before hb_socketClose() to force output buffer flush in systems like MS-Windows. Przemysław Czerpak 2015-04-09 00:20:40 +02:00