4c1c10ef29
2014-03-26 14:10 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/vm/garbage.c ! added protection for activating GC from thread with unlocked HVM stack when other thread is already executing GC passes. Such situation does not happen in core code and the protections is only just in case.
Przemysław Czerpak
2014-03-26 14:10:01 +01:00
d2ceb0e306
2014-03-25 00:38 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * tests/iotcp.prg ! fixed typo in macro name - thanks to Itamar for the info
Przemysław Czerpak
2014-03-25 00:38:18 +01:00
5873d78e2c
2014-03-20 04:01 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * include/hbapifs.h * src/rtl/filebuf.c * src/rtl/filebufd.c * contrib/hbcomio/comio.c * contrib/hbmemio/memio.c * contrib/hbnetio/netiocli.c * contrib/hbtcpio/tcpio.c * changed internal FILE IO API. Now all functions which do not operate on PHB_FILE receive pointer to function table (PHB_FILE_FUNCS) used by given redirector.
Przemysław Czerpak
2014-03-20 04:01:25 +01:00
21ec946359
2014-03-16 19:54 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * include/hbapifs.h * src/rtl/filebuf.c * move HB_FILE_TYPE_MAX definition to header file % include C stat() header only in *nix builds
Przemysław Czerpak
2014-03-16 19:54:22 +01:00
1fb6dd3962
2014-03-13 18:40 UTC+0200 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt) * contrib/rddads/adsx.c * implemented intermediate index creation in case ADS can process index FOR or WHILE condition. Ex., if requested index has WHILE condition supported by server, but index key expression is not supported (or codeblock is used), server side index is created using WHILE condition. This intermediate index later is used to create final index. This logic increases speed dramatically if WHILE condition was used to filter a few records from a large database using subindex.
Mindaugas Kavaliauskas
2014-03-13 18:43:00 +02:00
f1783b9fa6
2014-03-06 22:35 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * contrib/hbtcpio/tcpio.c ! fixed local static function prototype
Przemysław Czerpak
2014-03-06 22:35:36 +01:00
c89f63ee0b
2014-03-06 19:07 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/vm/set.c ! fixed freed memory access exploited by interactions between modifications in last few years. ! do not try to remove trailing ^Z char reading from the stream if FS_END seek reports 0. ! if possible open printer/alternate/extra output in write only mode to avoid problem on devices where read access is not available.
Przemysław Czerpak
2014-03-06 19:07:49 +01:00
5f6c317492
2014-03-05 11:59 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/debug/dbgentry.c ! added additional protection against recursive debugger activation. It should fix problem reported by Rafa.
Przemysław Czerpak
2014-03-05 11:59:16 +01:00
4c71e3d819
2014-02-03 22:26 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/compiler/complex.c + added support for AS HASH, POINTER, SYMBOL, TIMESTAMP + added support for AS BLOCK as synonym of AS CODEBLOCK + added support for AS DATETIME as synonym of AS TIMESTAMP
Przemysław Czerpak
2014-02-03 22:26:32 +01:00
a520ee91ca
2014-02-03 18:11 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * contrib/hbct/dattime2.c ! fixed potential GPF trap due to wrong protection condition and change internal variable name (synced with Viktor's branch)
Przemysław Czerpak
2014-02-03 18:11:47 +01:00
2075a50872
2014-02-03 09:59 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * ChangeLog.txt * updated previous ChangeLog entry to mark group of files.
Przemysław Czerpak
2014-02-03 09:59:26 +01:00
5b5183359f
2014-02-01 11:00 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * include/hbwince.h * added WINBASEAPI in declaration of redefined functions ; NOTE: if recent MSVC releases support above functions then they should be covered by some macros
Przemysław Czerpak
2014-02-01 11:00:22 +01:00
43a0697b3d
2014-02-01 09:11 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * include/hbwince.h - removed GetProcAddress() redefinition which forced ANSI version not supported in recent Windows Mobile MSVC libraries
Przemysław Czerpak
2014-02-01 09:11:23 +01:00
d0b300467d
2014-01-30 11:53 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/3rd/zlib/zutil.h ! removed not longer necessary hack for missing fdopen() function in WinCE builds. It's dummy code for older versions and current ZLIB does not use fdopen() function.
Przemysław Czerpak
2014-01-30 11:53:03 +01:00
c5d3403da5
2014-01-29 09:38 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * include/harbour.hbx * src/vm/dynsym.c + added PRG function which verifies internal global symbol table structure: __dynsVerify() -> <nError> (0 => no errors detected)
Przemysław Czerpak
2014-01-29 09:38:38 +01:00
a193cca9ad
2014-01-27 15:04 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/3rd/zlib/zutil.c ! do not define dummy errno variable in WinCE builds - it's probably some dummy old code not necessary in current ZLIB versions
Przemysław Czerpak
2014-01-27 15:04:36 +01:00
053ea387d3
2014-01-25 00:33 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * contrib/hbct/charlist.c ! fixed possible heap memory buffer overflow in CharSList() and CharNoList() % optimized
Przemysław Czerpak
2014-01-25 00:33:35 +01:00
9b3f803db7
2014-01-24 12:35 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/3rd/png/* * src/3rd/png/Makefile * src/3rd/png/pnglconf.h * src/3rd/png/png.dif * updated libpng 1.6.1 -> 1.6.8 ; modifications below taken from Viktor branch Warning: some of them may cause problems with 3-rd party code which needs fully functional libpng. * disabled PNG_CONSOLE_IO_SUPPORTED build option. (MSVS 2013 doesn't support 'stderr' constant) * disabled STDIO dependent parts for all platforms * disabled PNG_CONVERT_tIME_SUPPORTED to avoid using unsafe RTL calls (as shown by msvc)
Przemysław Czerpak
2014-01-24 12:35:07 +01:00
2c87206db0
2014-01-24 00:12 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * contrib/gtqtc/gtqtc1.cpp + enable virtual keyboard in Android and WinCE builds on focusOn and mouseLeftButton events - just for tests so users can compile and try code like tests/gtkeys.prg ; Warning in Android builds Fn keys, INS, HOME, END, PgUP and letters without modifiers do not work with virtual keyboards. Any solutions are greatly welcome. Setting Qt::ImhNoPredictiveText in console widget is not sufficient workaround for letters. BTW in Android I suggest to install Hacker's Keyboard by Klaus Weidner. It supports all PC keys and they works in terminal mode with ATE (Android Terminal Emulator) and Harbour GTTRM raw binary applications.
Przemysław Czerpak
2014-01-24 00:12:35 +01:00
f4717c6741
2014-01-22 04:17 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * contrib/gtqtc/gtqtc.hbp ! fixed build condition (condition in {} can be used only once per line)
Przemysław Czerpak
2014-01-22 04:17:53 +01:00
70358ad4b2
2014-01-22 03:30 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/rtl/hbproces.c ! do not use SetHandleInformation() in WinCE builds
Przemysław Czerpak
2014-01-22 03:30:28 +01:00
5ff00afb8c
2014-01-22 02:57 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * contrib/gtqtc/gtqtc1.cpp ! do not set Qt::WA_KeyCompression attribute - farther tests shows that on some platforms QT eats characters which incomes from device (i.e. from barcode readers) very fast
Przemysław Czerpak
2014-01-22 02:57:18 +01:00
6a0dea1cac
2014-01-22 02:44 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) ; modifications taken from Viktor's branch.
Przemysław Czerpak
2014-01-22 02:44:56 +01:00
d5899fbc57
2014-01-14 23:36 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * config/win/global.mk * utils/hbmk2/hbmk2.prg * src/rtl/hbsocket.c + added support for returning NIC MAC address by hb_socketGetIFaces() in MS-Windows builds. To see physical device addresses bound with active IP interfaces use: #include "hbsocket.ch" PROCEDURE Main() LOCAL aIFace FOR EACH aIFace IN hb_socketGetIFaces( , .t. ) ? "IP:", aIFace[ HB_SOCKET_IFINFO_ADDR ], ; " MAC:", aIFace[ HB_SOCKET_IFINFO_HWADDR ] NEXT WAIT RETURN
Przemysław Czerpak
2014-01-14 23:36:33 +01:00
72d883c13c
2014-01-14 15:21 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/rtl/hbjson.c ! do not indent null used as cross reference replacement if human readable format is disabled
Przemysław Czerpak
2014-01-14 15:21:58 +01:00
48d1ffbca3
2014-01-14 13:13 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/rtl/hbjson.c ! indent null used as cross reference replacement * strip space at the end of line after ":" in human readable output of objects with complex values * respect _SET_EOL setting in human readable output * round decoded number to keep the same final value as compiler
Przemysław Czerpak
2014-01-14 13:13:55 +01:00
f790669ed4
2014-01-13 17:00 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/rtl/gtxwc/gtxwc.c % small improvement in recent modification
Przemysław Czerpak
2014-01-13 17:00:14 +01:00
30ea1b2921
2014-01-13 14:53 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/rtl/gtxwc/gtxwc.c ! process events disabled unintentionally in recent modification, thanks to Rolf for the information about the problem.
Przemysław Czerpak
2014-01-13 14:53:01 +01:00
14c3adaa34
2014-01-13 12:40 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/rtl/hbproces.c % optimized MS-Windows version of hb_fsProcessRun() when only single stream is redirected
Przemysław Czerpak
2014-01-13 12:40:27 +01:00
bbc7e93c7c
2014-01-12 20:28 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/rtl/filesys.c + added support for setting non blocking mode in MS-Windows builds of hb_fsPipeUnblock()
Przemysław Czerpak
2014-01-12 20:28:53 +01:00
f5c19a7872
2014-01-11 14:58 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/rtl/hbproces.c ! clear inheritance flag for second side of pipes passed to child process
Przemysław Czerpak
2014-01-11 14:58:15 +01:00
9ee34a0cb9
2014-01-10 11:07 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * include/hbatomic.h * for GCC >= 4.1 (except MinGW) use build-in GCC __sync_*() atomic functions instead of our x86 assembler macros. This can be disabled by HB_USE_GCCATOMIC_OFF macro. Please make tests on different platforms. If you find some platforms on which compile or link errors bound with __sync_*() functions are reported then please send information about used platform and GCC version. GCC 4.1 or higher should support it during compilation but not all runtime libraries have implementation for __sync_*() functions. Low level implementations were added later for different platforms. In such case adding -DHB_USE_GCCATOMIC_OFF to HB_USER_CFLAGS should be sufficient workaround but I want to document such cases so please send information about it to devel list. ; This modification fixes problem with x86_64 CentOS and RH builds were default GCC does not respect volatile in our ASM macros and "optimize" them breaking our memory barriers.
Przemysław Czerpak
2014-01-10 11:07:11 +01:00
712b7710bb
2014-01-09 19:15 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/rtl/tgetint.prg ! allow to accept complex expressions passed as string to __Get() function. It fixes the problem I introduced in previous modification. ! allow to use __GetA() for hashes
Przemysław Czerpak
2014-01-09 19:15:23 +01:00
e842b7f788
2014-01-09 02:01 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/vm/itemapi.c ! clear destination item in hb_itemParamStore*() functions if passed source item is NULL
Przemysław Czerpak
2014-01-09 02:01:38 +01:00
8c2721100b
2014-01-07 13:15 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * contrib/hbfoxpro/hbfoxpro.hbp * contrib/hbfoxpro/misc.prg + contrib/hbfoxpro/occurs.prg * moved Occurs() function to separate file to avoid link conflict with xHarbour function using the same name
Przemysław Czerpak
2014-01-07 13:15:32 +01:00
bcfb15e873
2014-01-07 13:01 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * include/harbour.hbx * src/rtl/hbdef.c + added new PRG function hb_defaultValue(). It's similar to hb_default() but it returns expected value instead of setting 1-st parameter. New function can be used to replace code like: hb_default( @lParam, .T. ) IF lParam [...] ENDIF with: IF hb_defaultValue( lParam, .T. ) [...] ENDIF It's useful for two main reasons: 1) we do not damage original parameter value 2) if parameter is used only once then it's a little bit faster
Przemysław Czerpak
2014-01-07 13:01:03 +01:00
9fc0cb74b7
2014-01-04 18:22 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/vm/hvm.c ! release TSD handle in thread static destructors. It should fix problem reported by Lorenzo.
Przemysław Czerpak
2014-01-04 18:22:04 +01:00
af3b2f9cbd
2014-01-03 12:39 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * contrib/gtqtc/gtqtc.hbc * contrib/gtqtc/gtqtc.hbp * updated for QT 5.2 builds on Linux and some other *nixes ; TODO: update Mac OSX builds.
Przemysław Czerpak
2014-01-03 12:39:03 +01:00
0a956d32f9
2014-01-02 18:41 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/vm/hvm.c * clear STATIC variables before releasing thread specific data. It should resolve potential problems with code using TSD to activate cleanup procedure and later cannot correctly execute pointer item destructors, i.e. OLE subsystem.
Przemysław Czerpak
2014-01-02 18:41:15 +01:00
a5a9141109
2014-01-02 13:11 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/rtl/itemseri.c ! fixed casting for C++ builds
Przemysław Czerpak
2014-01-02 13:11:38 +01:00
15c1a332dd
2013-12-27 02:46 UTC+0100 Viktor Szakts (vszakats users.noreply.github.com) * ChangeLog.txt * cleaned away abandoned domain from old entries
Viktor Szakáts
2013-12-27 02:57:44 +01:00
e34407ad88
2013-12-23 17:11 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * include/hbapicdp.h * include/hbapiitm.h * src/rtl/itemseri.c * changed 2-nd parameter in hb_itemSerialize() and hb_itemSerializeCP() from HB_BOOL fNumSize parameter to int iFlags. Previous fNumSize is replaced by HB_SERIALIZE_NUMSIZE flag. Warning: declaration is not backward compatible though existing code using these functions is binary compatible so it will work without recompilation. + added support for optional compression of serialized values. It can be enabled in C code by HB_SERIALIZE_COMPRESS flag. + added support for serialization flags passed in 2-nd parameter to hb_Serialize() PRG function. ; Info: support for compression and decompression exists only in programs which are linked with ZLIB library. Programmers which want to use it and so far the haven't used ZLIB functions should add to their code REQUEST HB_ZCOMPRESS
Przemysław Czerpak
2013-12-23 17:11:36 +01:00
601e995d15
2013-12-19 08:44 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * include/hbexpra.c + added warning for undeclared get variables, it can be enabled by -w2 (it also fixes compilation problem after last commit - this modification was work in progress committed partially by mistake)
Przemysław Czerpak
2013-12-19 08:44:48 +01:00
4ffd5bb726
2013-12-18 21:05 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * include/Makefile + include/hbzlib.h * include/hbzlib.ch * src/rtl/Makefile * src/rtl/hbzlib.c + added new C functions weakly bound with ZLIB library: HB_SIZE hb_zlibCompressBound( HB_SIZE nLen ); HB_SIZE hb_zlibUncompressedSize( const char * pSrc, HB_SIZE nLen, int * piResult ); int hb_zlibCompress( char * pDst, HB_SIZE * pnDst, const char * pSrc, HB_SIZE nLen, int iLevel ); int hb_zlibUncompress( char * pDst, HB_SIZE * pnDst, const char * pSrc, HB_SIZE nLen ); these functions can be used by any C code without forcing ZLIB liking. If user usese in his code HB_ZCOMPRESS() function or has REQUEST HB_ZCOMPRESS then above funcitons are automatically bound with linked ZLIB library. Otherwise they return 0 or HB_ZLIB_RES_UNSUPPORTED error.
Przemysław Czerpak
2013-12-18 21:05:06 +01:00
b03a3e8ac5
2013-12-05 19:38 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib\gtwvg\gtwvg.h ! Increased: WVT_CHAR_QUEUE_SIZE 128 => 256 Required in cases where paste operation in a bigger character field is needed. Even this is hypothetical, but still works for most use cases.
Pritpal Bedi
2013-12-06 15:02:28 -08:00
9c5ccb137d
2013-11-28 03:04 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * contrib/hbmxml/3rd/minixml/mxml_fil.c ! fixed mxmlLoadString() with top node - patch by Franček Prijatelj
Przemysław Czerpak
2013-11-28 03:04:35 +01:00
271bb4b449
2013-11-27 20:32 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/rtl/gtxwc/gtxwc.c ! fixed typo which broke event loop processing - changed state was not flushed without incoming events
Przemysław Czerpak
2013-11-27 20:32:50 +01:00
24dedd84e7
2013-11-27 13:06 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/rtl/gtxwc/gtxwc.c * minor modification for future usage
Przemysław Czerpak
2013-11-27 13:06:03 +01:00
b33cdd455e
2013-11-25 23:23 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/common/strwild.c ! fixed hb_strMatchFile() (C) and hb_fileMatch() (PRG) to respect . and .* used at the end of pattern just like system does (or at least should, tests with more complicated wildcard expressions in my Windows7 exploit bugs in system wildcards interpretation)
Przemysław Czerpak
2013-11-25 23:23:18 +01:00
6f4579fb6c
Update mxml_fil.c
Franček Prijatelj
2013-11-23 19:09:30 +01:00
9f93fbbe81
2013-11-22 21:22 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/rtl/gtxwc/gtxwc.c * removed some old unused code ! restored window oriented message processing ! check window position on each HB_GTI_SETPOS_XY request - some WMs sends ConfigureNotify with 0,0 cords when window is resized overwriting correct values. * switched HB_GTI_SETPOS_XY coordinates to NorthWestGravity (upper left corner of window with frame and title bar) from StaticGravity (upper left corner of client area). Many thanks to Rolf for the hint which allows to translate coordinates from StaticGravity and NorthWestGravity ; updated note about StaticGravity/NorthWestGravity ; Warning: sometime WMs report wrong size in _NET_FRAME_EXTENTS and then HB_GTI_SETPOS_XY returns wrong position two. I observed this behavior in different situations and different WMs, f.e. in KWIN from Ubuntu, after: MAXIMIZE, FULLSCREEN-ON, FULLSCREEN-OFF wrong left and top offsets (3,3) are set which are later inherited also by NORMALSIZE window for which HB_GTI_SETPOS_XY returns wrong position. _NET_FRAME_EXTENTS begins to report correct size after next FULLSCREEN-ON.FULLSCREEN-OFF
Przemysław Czerpak
2013-11-22 21:22:55 +01:00
7b6fdc2b6f
2013-11-21 13:16 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/common/expropt2.c ! fixed setting number of decimal places in optimized multiple expressions with default number of decimal places, i.e.: ? ( 1 / 2 ) * ( 1 / 2 )
Przemysław Czerpak
2013-11-21 13:16:11 +01:00
c793b32741
2013-11-21 12:48 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/rtl/gtxwc/gtxwc.c ! updated HB_ULONG->HB_U32 used in pCurrScr. I missed them in previous commit.
Przemysław Czerpak
2013-11-21 12:48:46 +01:00
e16d7fc76d
deleted reference to no longer existing URL
Viktor Szakáts
2013-11-19 22:39:35 +01:00