ffd3bf50e5
2016-01-28 13:00 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/rtl/gtxwc/gtxwc.c ! fixed buffer overflow in HB_GTI_FONTATTRIBUTE used after after console window initialization ! set XLib mutex when font size is changed by HB_GTI_FONTSIZE after console window initialization (for MT programs using more then one GTXWC console simultaneously). ! allow HB_GTI_FONTSIZE to change font created by HB_GTI_FONTSEL using before console window is created % do not create new console window pixmap if old one has the same dimensions
Przemysław Czerpak
2016-01-28 13:00:23 +01:00
c6316a4578
2016-01-26 15:44 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * include/hbapierr.h * include/hbdefs.h * src/debug/dbgentry.c * src/rtl/filesys.c * src/rtl/gtcgi/gtcgi.c * src/rtl/gtcrs/gtcrs.c * src/rtl/gtos2/gtos2.c * src/rtl/gtpca/gtpca.c * src/rtl/gtsln/gtsln.c * src/rtl/gtstd/gtstd.c * src/rtl/gttrm/gttrm.c * src/rtl/gtwin/gtwin.c * src/rtl/gtwvt/gtwvt.c * src/rtl/gtxwc/gtxwc.c * src/rtl/hbhex.c * src/rtl/hbproces.c * src/rtl/hbsocket.c * src/vm/classes.c * src/vm/extrap.c * src/vm/itemapi.c * src/vm/runner.c * src/vm/task.c * contrib/gtalleg/gtallegd.c * contrib/gtqtc/gtqtc1.cpp * contrib/gtwvg/gtwgud.c * contrib/gtwvg/gtwvgd.c * contrib/gtwvg/wvgcore.c * contrib/gtwvg/wvgcuig.c * contrib/gtwvg/wvgutils.c * contrib/gtwvg/wvgwin.c * contrib/gtwvg/wvgwing.c * contrib/hbfbird/firebird.c * contrib/hbwin/axcore.c * contrib/hbwin/wapi_commctrl.c * contrib/hbwin/wapi_shellapi.c * contrib/hbwin/wapi_winbase.c * contrib/hbwin/wapi_wingdi.c * contrib/hbwin/win_misc.c * contrib/hbxdiff/core.c * contrib/rddads/ads1.c * contrib/rddads/adsx.c * contrib/xhb/cstructc.c * contrib/xhb/freadlin.c * extras/gtwvw/gtwvwd.c * extras/gtwvw/wvwfuncs.c * use HB_PTRUINT instead of HB_PTRDIFF in castings between pointers and numbers - it makes some C compilers happy and in few cases it also fixed bugs
Przemysław Czerpak
2016-01-26 15:45:00 +01:00
dc0e4e093c
2016-01-24 13:06 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/rdd/delim1.c ! added missing casting - it fixes problem reported by Franček Prijatelj
Przemysław Czerpak
2016-01-24 13:06:23 +01:00
5b4cb6058a
2016-01-21 20:29 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * contrib/rddads/ads1.c * do not use long type names in array returned by dbStruct() if corresponding types exist in core code and have their own name recognized by other RDDs. Now only one long type name can be returned: "CICHARACTER"
Przemysław Czerpak
2016-01-21 20:29:25 +01:00
3ecf959150
2016-01-19 13:03 UTC+0100 Maurilio Longo (maurilio.longo@libero.it) - tests/longfile.prg + tests/largefil.prg + renamed to better convey what it is all about.
maurilio
2016-01-19 13:05:55 +01:00
83a19daafb
2016-01-19 12:58 UTC+0100 Maurilio Longo (maurilio.longo@libero.it) ! tests/longfile.prg ! use hb_fSize() instead of FileSize()
maurilio
2016-01-19 12:58:43 +01:00
548bf2da5e
2016-01-19 11:47 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/compiler/cmdcheck.c ! fixed parsing some parameters taken from environment and delimited with spaces ! fixed potential memory leak when some parameters were repeated.
Przemysław Czerpak
2016-01-19 11:47:02 +01:00
8f6ee07ece
2016-01-18 12:37 UTC+0100 Maurilio Longo (maurilio.longo@libero.it) + tests/longfile.prg + create a .dbf file bigger than 2GB and test index operations on it.
maurilio
2016-01-18 12:37:48 +01:00
682d8e32e3
2016-01-15 16:02 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * include/hbapifs.h * src/common/hbfsapi.c + added automatic file handle table resizing to hb_fsOS2DosOpenL() + added new C function: hb_fsOS2DosOpen() which is wrapper to DosOpen() with automatic file handle table resizing. Please remember that unlike hb_fsOS2DosOpenL() this function is pure wrapper to DosOpen() so it does not make file name conversions and does not set hb_fsError().
Przemysław Czerpak
2016-01-15 16:02:45 +01:00
cef75de547
2016-01-15 15:20 UTC+0100 Viktor Szakats (vszakats users.noreply.github.com) * * % remove brandings and homepage from copyright header. Pass 3 - manual. * project homepage and name is described in README, amongst others ; this should make the diff between 3.4 and 3.2 easier to manage
Viktor Szakats
2016-01-15 15:21:27 +01:00
3ed9fa0f45
2016-01-14 19:33 UTC+0100 Viktor Szakats (vszakats users.noreply.github.com) * * % remove brandings and homepage from copyright header. Pass 2 - semi-auto. * project homepage and name is described in README, amongst others ; this should make the diff between 3.4 and 3.2 easier to manage
Viktor Szakats
2016-01-14 19:35:07 +01:00
58faf91453
2016-01-14 19:17 UTC+0100 Viktor Szakats (vszakats users.noreply.github.com) * * % remove brandings and homepage [1] from copyright header. Pass 1 - using script. [1] nobody has access to it anymore AFAIK - and it's also just a redirect since long ! update url in copyright header ; this should make the diff between 3.4 and 3.2 easier to manage
Viktor Szakats
2016-01-14 19:18:17 +01:00
04283dd94f
2016-01-14 11:02 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * config/global.mk * set HARBOUR=F:100 during build process in OS2 builds - it increases maximum number of open handles per process from 20 to 100 so it should be possible to use -j<n> switch during Harbour compilation - please test, i.e.: os2-make -j3
Przemysław Czerpak
2016-01-14 11:02:51 +01:00
ca9bb39a23
2016-01-13 15:25 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * contrib/hbtip/encurlc.c ! fixed C&P typos in tip_URLEncode() and tip_URLDecode() in may previous commit
Przemysław Czerpak
2016-01-13 15:25:21 +01:00
6be1156f7c
2016-01-12 21:13 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * contrib/hbtip/encurlc.c ! fixed url decoding - thanks to Lorenzo for reporting the problem * small simplification of url encoding code
Przemysław Czerpak
2016-01-12 21:13:30 +01:00
29fc87a1ef
2016-01-10 20:42 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/vm/hvm.c * allow to use == operator for codeblocks
Przemysław Czerpak
2016-01-10 20:42:57 +01:00
0fe070fc4a
2016-01-09 20:57 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) + contrib/hbbz2/errint.c + added file I forgot to add to git in one of previous commits
Przemysław Czerpak
2016-01-09 20:57:22 +01:00
332fb10134
2016-01-09 20:30 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * contrib/hbbz2/core.c * contrib/hbbz2/hbbz2.hbp * moved bz_internal_error() definition to separate file to avoid conflicts when more modules need it and/or define their own.
Przemysław Czerpak
2016-01-09 20:30:49 +01:00
cafafa03d8
2016-01-09 20:15 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * contrib/hbgzio/gzio.c * do not clear timeout when at least one byte was read or written, it may be useful for code which was not designed to work with partially finished file read/write operations.
Przemysław Czerpak
2016-01-09 20:15:54 +01:00
7abf3b836d
2016-01-09 03:16 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/vm/hvm.c + allow to compare symbol items with == operator, i.e.: ? @QOut() == &( "@QOut()" )
Przemysław Czerpak
2016-01-09 03:16:20 +01:00
d46b6b8916
2016-01-09 02:17 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * contrib/hbgzio/gzio.c ! fixed license text in file header - by mistake I committed wrong one, thanks to Tamas TEVESZ for information
Przemysław Czerpak
2016-01-09 02:17:17 +01:00
9f98c084d5
2016-01-08 13:00 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/3rd/hbdossrl/serial.h ! force pure C function declaration
Przemysław Czerpak
2016-01-08 13:00:23 +01:00
8f62b2b985
2016-01-08 12:28 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * include/hbrdddel.h * src/rdd/delim1.c + added to DELIM RDD support for defined by user default filename extenssion. It can be changed by: hb_rddInfo( RDDI_TABLEEXT, ".csv", "DELIM" ) + added to DELIM RDD support for exporting initial record with field names. It can be enabled by: hb_rddInfo( RDDI_SETHEADER, 1, "DELIM" ) and disabled by: hb_rddInfo( RDDI_SETHEADER, 0, "DELIM" ) Importing from CSV files with such header is not supported yet but I plan to add it so in the future RDDI_SETHEADER=1 will also effect import (APPEND FROM).
Przemysław Czerpak
2016-01-08 12:28:02 +01:00
9e3fe580b5
2016-01-08 12:13 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * contrib/hbfoxpro/hbfoxpro.ch + added new PP rules suggested by Jeff Stone for THIS., .NULL. and CD
Przemysław Czerpak
2016-01-08 12:13:52 +01:00
aeb2a15261
2016-01-07 12:16 UTC-0800 Pritpal Bedi (bedipritpal/at/hotmail.com) * contrib/gtwvg/wvgcore.c * contrib/gtwvg/wvgcuig.c ! Fixed ( again ) Wvt_DrawImage() and Wvg_Image() where images were not being rendered correctly if the height of image is greater than width of the image. The behavior is only affected when <bDoNotScale> is set to be TRUE. Thanks Sergy for reporting and providing code to debug.
Pritpal Bedi
2016-01-07 12:23:52 -08:00
c5758d9b83
2016-01-05 10:04 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * include/hbapigt.h * src/rtl/gttrm/gttrm.c * modified GTTRM to generate HB_K_CLOSE if input stream is closed and then HB_K_TERMINATE on next inkey calls.
Przemysław Czerpak
2016-01-05 10:04:37 +01:00
ad865dde3e
2016-01-04 22:54 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) + contrib/hbgzio/gzio.c + contrib/hbgzio/hbgzio.hbc + contrib/hbgzio/hbgzio.hbp + contrib/hbgzio/hbgzio.hbx + added new Harbour File IO driver for GZIP compressed streams. It redirects files with "gz:" and "gz[0-9]:" prefixes and can be used with hb_vf*() functions and transfer RDDs like SDF or DELIM, i.e. REQUEST HB_GZIO USE test COPY TO gz:test.txt.gz DELIMITED WITH TAB or: REQUEST HB_GZIO, HB_MEMIO hb_vfCopy( "file.txt", "gz9:mem:file.txt.gz" ) USE test APPEND FROM "gz:mem:file.txt.gz" hb_vfErase( "mem:file.txt.gz" ) or: REQUEST HB_GZIO FUNCTION GZIP( cFile ) RETURN hb_vfCopy( cFile, "GZ:" + cFile + ".gz" )
Przemysław Czerpak
2016-01-04 22:54:05 +01:00
a3e4ff9b78
2016-01-04 22:03 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/compiler/gencc.c ! fixed generation of -gc3 code for 64-bit *nixes on 32-bit hosts
Przemysław Czerpak
2016-01-04 22:03:14 +01:00
b29e6acfc3
2016-01-03 09:24 UTC-0800 Pritpal Bedi (bedipritpal/at/hotmail.com) * contrib/gtwvg/wvgcore.c * contrib/gtwvg/wvgcuig.c ! Fixed Wvt_DrawImage() and Wvg_Image() where images were not being rendered correctly if the height of image is greater than width of the image. The behavior is only affected when <bDoNotScale> is set to be TRUE. Thanks Sergy for reporting and providing code to debug.
Pritpal Bedi
2016-01-03 09:31:49 -08:00
0bd3886ba3
2015-12-29 20:16 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * include/hbcomp.h * include/hbcompdf.h * src/compiler/gencc.c ! generate platform and C compiler independent C code for -gc3 output
Przemysław Czerpak
2015-12-29 20:16:37 +01:00
c72fa84588
2015-12-29 17:33 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/3rd/hbdossrl/Makefile ! typo in library name
Przemysław Czerpak
2015-12-29 17:33:25 +01:00
c559d7409b
2015-12-29 17:03 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) + src/3rd/hbdossrl/Makefile + src/3rd/hbdossrl/serial.c + src/3rd/hbdossrl/serial.h + src/3rd/hbdossrl/README + added DOS Serial Library - it's much cleaner and simpler then COMLib we used so far in DOS builds. It also supports hardware and software flow control. Many thanks for Karl Stenerud for his wonderful job.
Przemysław Czerpak
2015-12-29 17:03:40 +01:00
06bb6134a1
2015-12-24 14:53 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/vm/hvm.c ! casting for C++ compilation
Przemysław Czerpak
2015-12-24 14:53:42 +01:00
d89d2ea0d5
2015-12-23 18:57 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/vm/hvm.c ! added missing HB_STACK_TLS_PRELOAD - thanks to Viktor for the info
Przemysław Czerpak
2015-12-23 18:57:58 +01:00
b058c205e6
2015-12-23 17:53 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * include/harbour.hbx * src/vm/hvm.c + added new PRG function: __RecoverErrorBlock() -> <bError> | NIL It extracts previous error block pushed on HVM stack by BEGIN SEQUENCE WITH ...
Przemysław Czerpak
2015-12-23 17:53:42 +01:00
5b361cb9f5
2015-12-16 19:09 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/common/hbfopen.c ! do not use _wfsopen() in MinGW-CE builds - it does not support it (Thanks to Abe)
Przemysław Czerpak
2015-12-16 19:09:21 +01:00
d074db1033
2015-12-15 23:48 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * config/dos/watcom.mk * config/win/watcom.mk * config/linux/watcom.mk ! enabled -bd OpenWatcom switch for code compiled as part of dynamic libraries * use CauseWay as default DOS extender for dynamic DOS builds
Przemysław Czerpak
2015-12-15 23:48:52 +01:00
e44ed3d3df
2015-12-15 19:50 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/common/hbfopen.c * use *fsopen() function instead of *fopen() in most of DOS, OS2 and MS-Windows builds
Przemysław Czerpak
2015-12-15 19:50:35 +01:00
a50c962be3
2015-12-14 16:26 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * config/os2/watcom.mk + added -bd to Watcom C switches used to compile files for Harbour DLL. It should fix the problem with OpenWatcom binaries using harbour.dll.
Przemysław Czerpak
2015-12-14 16:26:04 +01:00
ce6d06f45c
2015-12-14 14:52 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/dynlib/Makefile ! yet another fix for building harbour without MT support HB_MT=no
Przemysław Czerpak
2015-12-14 14:52:37 +01:00
9e04ac8ad3
2015-12-14 14:34 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/rtl/hbproces.c + protect DosExecPgm() and standard file IO redirection in OS2 builds by GT mutex
Przemysław Czerpak
2015-12-14 14:34:51 +01:00
cbbba78f09
2015-12-09 23:15 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * contrib/hbssl/ssl_sock.c + recognize "ssl" item in hash array socket filter as alternative to "ctx" and "key"
Przemysław Czerpak
2015-12-09 23:15:05 +01:00
ea09561adf
2015-12-09 14:22 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * include/dbinfo.ch * include/hbrdddbf.h * src/rdd/dbf1.c + added new RDD switch RDDI_SETHEADER It allows to define how DBF header is updated in tables which will be opened later, i.e.: // maximize performance reducing number of DBF header updating // header is updated only when table is closed if before new // record was added hb_rddInfo( RDDI_SETHEADER, DB_SETHEADER_MINIMAL ) or: // update header in the same moment as Clipper and xBase++ // and store only last two digit from the year for compatibility // with old dBase and FoxPro versions hb_rddInfo( RDDI_SETHEADER, ; hb_bitOr( DB_SETHEADER_CLIPPER, DB_SETHEADER_YYEAR ) ) // DB_SETHEADER_CLIPPER By default Harbour uses DB_SETHEADER_APPENDSYNC. For more information look at comments for DB_SETHEADER_* switches in dbinfo.ch + added new table switch DBI_SETHEADER It has the same meaning as RDDI_SETHEADER but changes the header updated mode of already open table by dbInfo() function.
Przemysław Czerpak
2015-12-09 14:22:57 +01:00
34775e51bd
2015-12-05 10:58 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) + tests/getblock.prg + added test code for GET SetGet block for aliased macro variables
Przemysław Czerpak
2015-12-05 10:58:14 +01:00
071cdda627
2015-12-05 10:05 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/rtl/gtos2/gtos2.c ! fixed GCC builds - many thanks to David Macias
Przemysław Czerpak
2015-12-05 10:05:59 +01:00
ef0912cb9e
2015-12-04 23:05 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * include/hbexpra.c ! accept strings passed in 2-nd parameter of _GET_() function with the highest priority for macro and macroalias expressions ! fixed late evaluation of macroalias expressions in GET variables. Thanks to Volodimyr for information about the problem and self contain code example.
Przemysław Czerpak
2015-12-04 23:05:18 +01:00
9625679001
2015-12-03 22:08 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * contrib/hbnetio/netiosrv.c ! fixed wrongly set error code when last stream is closed. It was minor problem invisible for client PRG code without any side effects. * lock stream mutex a little bit earlier to avoid problems with future code extensions - i.e. streams closed asynchronously by other server threads
Przemysław Czerpak
2015-12-03 22:08:08 +01:00
380760672d
2015-12-03 12:26 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * include/hbstack.h * src/vm/estack.c + added new C function: HB_ISIZ hb_stackBaseSymbolOffset( PHB_SYMB pSymbol ); it returns offset of pSymbol function frame on HVM stack or -1 if function/procedure pointed by pSymbol is not called.
Przemysław Czerpak
2015-12-03 12:26:07 +01:00
43006ae7e9
2015-12-01 22:46 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/rdd/dbf1.c * update DBF header only after modification in COMMIT and CLOSE methods. It's Cl*pper and xBase++ compatible behavior anyhow it also means that number of records in DBF header is not modified just after APPEND so it cannot be used to synchronization in concurrent file access.
Przemysław Czerpak
2015-12-01 22:46:39 +01:00
f55c0a997a
2015-11-30 14:56 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * include/hbjson.h * src/rtl/hbjson.c + added new C function: char * hb_jsonEncodeCP( PHB_ITEM pValue, HB_SIZE * pnLen, HB_BOOL fHuman, PHB_CODEPAGE cdp ); It allows to pass explicitly codepage in which strings inside pValue are encoded. If cdp parameter is not NULL then it's used to extract unicode character values from passed strings and this values is used to encode to encode non ASCII characters as "\uXXXX" where XXXX is unicode character value. Data serialized in such way is 7bit clean. If this parameter is NULL then strings are encoded in raw form just like in hb_jsonEncode(). + added new C function: HB_SIZE hb_jsonDecodeCP( const char * szSource, PHB_ITEM pValue, PHB_CODEPAGE cdp ); It allows to pass explicitly codepage used for strings decoded from JSON data. If this parameter is NULL then strings are decoded in raw form and unicode character with code over 255 are converted to '?' char. + added optional 3-rd parameter with codepage ID to PRG functions hb_jsonEncode() and hb_jsonDecode(). If this parameter is not given then above functions works like before this modification: hb_jsonEncode() uses raw string encoding and hb_jsonDecode() uses current HVM CP to decode characters encoded as \uXXXX. + modified PRG function hb_jsonDecode() to return decoded data instead of length of decoded data when second parameter is not passed by reference.
Przemysław Czerpak
2015-11-30 14:56:10 +01:00
aadfea3fcc
2015-11-24 09:05 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * include/hbapirdd.h * src/rdd/wacore.c * changed 4-th parameter of hb_rddRequestArea() from HB_BOOL fWait to HB_ULONG ulMilliSec [INCOMPATIBLE]
Przemysław Czerpak
2015-11-24 09:05:22 +01:00
7275392fb6
2015-11-24 09:03 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * include/hbapirdd.h * src/rdd/wacore.c * changed 4-th parameter of hb_rddRequestArea() from HB_BOOL fWait to HB_ULONG ulMilliSec [INCOMPATIBLE]
Przemysław Czerpak
2015-11-24 09:03:56 +01:00
80b10a3a72
2015-11-23 23:24 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/rdd/dbf1.c + reserve space for DBC name in newly created DBF files with VFP DBF signature, Thanks to Nikos Christophi, Jeff Stone and other who reported this problem. + added RTE when size of DBF header is exceed by "_NullFlags" field
Przemysław Czerpak
2015-11-23 23:24:30 +01:00
30d0f5bd78
2015-11-13 10:29 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/rtl/filebuf.c ! fixed file handle sharing in POSIX systems when writeonly mode is used ! fixed accessing files in writeonly mode in POSIX systems which use fcntl() locks for DENY_* flag emulation. ! added for POSIX systems protection against potential race condition in MT programs and file open and close operations. Now the whole low level open and close operations are covered by mutex. It means that they are fully serialized so in case of remote file access (i.e. NFS or SMBFS) it may reduce the performance in applications which simultaneously open and closes many different files in different threads but its necessary. For local file access it should not create noticeable scalability problems. In my Linux box Harbour can open and close in MT mode more then 250000 files per second. % use different mutexes for file open/close and file lock operations to not reduce the lock performance by potentially slow open() operation in POSIX systems. ; NOTE: please remember that DENY_* flag emulation in POSIX systems emulates only shared and exclusive modes so if any of FO_DENYREAD, FO_DENYWRITE or FO_EXCLUSIVE flag is used then it effectively works like FO_EXCLUSIVE in POSIX system and is not mandatory for other processes so it blocks only other Harbour applications which use Harbour virtual handles (RDD code, hb_vf*() functions)
Przemysław Czerpak
2015-11-13 10:29:25 +01:00
a3d292748f
2015-11-05 18:20 UTC+0100 Tamas TEVESZ (ice extreme.hu) * src/3rd/pcre/Makefile ! Fix bundled PCRE build on SunOS; tested on Solaris 11u3 x86 with Sun C and gcc
Tamas TEVESZ
2015-11-05 18:30:43 +01:00
9c5f875a7a
2015-11-03 10:44 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/rtl/gtwin/gtwin.c * added workaround for compilers which do not have MOUSE_HWHEELED macro (thanks to Alexey)
Przemysław Czerpak
2015-11-03 10:44:29 +01:00
ef13a4a651
2015-11-02 17:13 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/rtl/gtsln/kbsln.c * tests/inkey.prg - removed not longer used HB_INKEY_RAW flag
Przemysław Czerpak
2015-11-02 17:13:20 +01:00
c58fa44650
2015-10-29 11:52 UTC+0100 Viktor Szakats (vszakats users.noreply.github.com) * src/rtl/gtwin/gtwin.c ! add some HB_GTI_* setting to default GT handler (2015-06-08 23:32 UTC+0200 Viktor Szakats) + add HB_GTI_WINHANDLE support to GTWIN (2015-04-24 19:56 UTC+0200 Viktor Szakats) % variable scopes adjusted * minor cleanups along the way (2015-03-30 13:57 UTC+0200 Viktor Szakats) ! move misplaced comment to its proper location (2015-03-28 15:45 UTC+0100 Viktor Szakats) * simplify compatibility logic around [P]CONSOLE_SCREEN_BUFFER_INFOEX it's also an attempt to fix it for some mingw distros (f.e. on AppVeyor CI) (2015-03-23 03:32 UTC+0100 Viktor Szakats) % cleanup a #define spagetti (2015-03-23 03:27 UTC+0100 Viktor Szakats) ! fixed msvc sanitize warnings (2014-07-16 17:37 UTC+0200 Viktor Szakats)
Viktor Szakats
2015-10-29 11:54:33 +01:00
60b029f057
2015-10-28 15:44 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * include/hbgtinfo.ch * removed unused HB_GTI_KBD_* macros * redefined few other HB_GTI_KBD_* macros to be more HB_KF_* friendly. [INCOMPATIBLE] ; Warning this modification is not binary compatible so if someone uses HB_GTI_KBD_SCROLOCK, HB_GTI_KBD_NUMLOCK, HB_GTI_KBD_CAPSLOCK, HB_GTI_KBD_LSHIFT, HB_GTI_KBD_RSHIFT, HB_GTI_KBD_LCTRL, HB_GTI_KBD_RCTRL, HB_GTI_KBD_LALT, HB_GTI_KBD_RALT, HB_GTI_KBD_LWIN, HB_GTI_KBD_RWIN or HB_GTI_KBD_MENU then he should recompile his code with new hbgtinfo.ch header files.
Przemysław Czerpak
2015-10-28 15:44:35 +01:00
1eeec758f6
2015-10-20 15:55 UTC+0200 Aleksander Czajczynski (hb fki.pl) * src/rtl/hbsocket.c ! enable socket type translation for Linux/MIPS, enum order is different there - fixes TCP/IP socket binding on such platform
Aleksander Czajczynski
2015-10-20 15:54:12 +02:00
530838fcab
2015-10-13 23:05 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * include/hbwince.h * src/common/hbwince.c * src/rtl/cputime.c * do not use GetCurrentProcess() in WinCE builds
Przemysław Czerpak
2015-10-13 23:05:32 +02:00
f3fdf11830
2015-10-13 21:22 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/rtl/mlcfunc.c ! do not access trailing 0 byte in empty strings passed to hb_MLEval() (thanks to Abe for information and example illustrating the problem) * respect in return value also empty line after last EOL
Przemysław Czerpak
2015-10-13 21:22:30 +02:00
d3c36b080c
2015-10-13 15:08 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/rtl/memoedit.prg * always returned reformatted string after CTRL+W even if user has not made any modifications in edited data - Cl*pper compatible behavior.
Przemysław Czerpak
2015-10-13 15:08:05 +02:00
62f2ca6ee6
2015-10-13 13:16 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * contrib/hbnetio/netiocli.c * strip connection parameters (server name, port, password,...) from second parameter of hb_vfRename(), hb_vfLink() and hb_vfSymLink() functions redirected to HBNETIO if it's the same as in the first parameter. Now it's possible to use above functions with path containing connection parameters in second argument. Please only remember that both parameters have to point to the same server in above functions. If not then DOS error 2 is set. In case of hb_vfCopy() the parameters can point to different servers so it's possible to copy files between different HBNETIO servers or even different Harbour File IO redirectors.
Przemysław Czerpak
2015-10-13 13:16:06 +02:00
fe13ece4b4
2015-10-12 17:22 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/rtl/hbsocket.c * added support for hb_socketGetIFaces() in DOS wattcp/watt-32 builds
Przemysław Czerpak
2015-10-12 17:22:29 +02:00