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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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