4858d23510
2017-05-04 14:48 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/compiler/hbcomp.c ! restored protection against multiple free of the same expression I removed by mistake in one of my recent commits.
Przemysław Czerpak
2017-05-04 14:48:39 +02:00
a69b4a58ee
2017-05-03 09:10 UTC Viktor Szakats (vszakats users.noreply.github.com) * * * copyright name cleanups
Viktor Szakats
2017-05-03 09:11:48 +00:00
4a4f2c30ae
2017-04-25 17:45 UTC+0200 Aleksander Czajczynski (hb fki.pl) * src/harbour.def ! add hb_rand*() functions, fixing hbtip regression (#154) after 1938dd0a70
Viktor Szakats
2017-04-25 17:47:05 +02:00
d7193b8e14
2017-04-25 15:59 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * include/hbexprb.c ! added missing code to restore original expression type after direct type change in code like: <var> := <var> + <exp> It created problems when <var> was reused later, i.e. in FOR loop: FOR v := v + x TO 3 * simplified code to restore original expression type and updated comments
Przemysław Czerpak
2017-04-25 15:59:35 +02:00
d89e99cbb0
2017-04-22 21:22 UTC+0200 Aleksander Czajczynski (hb fki.pl) * contrib/hbamf/amfenc.c ! fix trivial mistake in AMF3_ENCODE(), which broke string deduplication after hash with string-keys was serialized in object tree. The hash itself was serialized correctly because keys are by definition unique.
Aleksander Czajczynski
2017-04-22 21:24:19 +02:00
ad1f113511
2017-04-20 10:01 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/3rd/zlib/* * updated to version 1.2.11
Przemysław Czerpak
2017-04-20 10:01:20 +02:00
63dbef88f4
2017-04-14 17:17 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/harbour.def * removed hb_fsPoll() added by mistake - it's only in *nix builds
Przemysław Czerpak
2017-04-14 17:17:31 +02:00
e150da6f93
2017-04-14 16:36 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * include/hbapifs.h * src/rtl/filesys.c + added new C functions for UNIX and DJGPP builds: int hb_fsPollFD( PHB_POLLFD pPollSet, int iCount, HB_MAXINT nTimeOut ); int hb_fsCanRead( HB_FHANDLE hFileHandle, HB_MAXINT nTimeOut ); int hb_fsCanWrite( HB_FHANDLE hFileHandle, HB_MAXINT nTimeOut ); These functions should be used instead of select() in C code to hide low level access to select()/poll() functionality in *nix builds (they are supported by DJGPP only to simplify existing code common for DJGPP and *nix builds). Maximum file handle value which can be used in select() is limited by FD_SETSIZE. Please note that it's file handle value not number of file handles in the set. It creates serious problem for applications which operate on great number of handles (i.e. servers which have to keep open many sockets, pipes, files, etc. for their clients) so the new file/socket/pipe/... handle value can easy exceed FD_SETSIZE limit and in such case cannot be used with select(). The modification on 2016-04-05 21:24 UTC+0200 Przemyslaw Czerpak resolved the problem only for sockets and pipes in code which uses corresponding hb_socket*() and hb_fsPipe*() API but not for all other cases. This one is for POSIX compilant code which needs pure POSIX select()/poll() functionality. Please note that HB_POLLFD structure should is compatible with struct pollfd defined by POSIX.1-2001 anyhow not all platforms confirm this standard so portable Harbour code should always use HB_POLLFD and HB_POLL* constant values instead of POLL* ones.
Przemysław Czerpak
2017-04-14 16:36:50 +02:00
11d3cbfa0b
2017-04-06 12:05 UTC+0200 Aleksander Czajczynski (hb fki.pl) * contrib/hbtip/httpcli.prg ! fixed uploading binary files with TIPClientHTTP:PostMultiPart() Thanks to Alexandre Alencar, who informed about the bug, supplied example test code and suggested a patch. This commit simplifies patch given by Alexandre.
Aleksander Czajczynski
2017-04-06 12:07:24 +02:00
9e8e013eb9
2017-03-29 19:50 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/compiler/hbgenerr.c * changed "with object" in last error message to upper cases
Przemysław Czerpak
2017-03-29 19:50:33 +02:00
9153285bdf
2017-03-28 23:02 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * include/hbcomp.h * include/hbcompdf.h * include/hberrors.h * include/hbexprb.c * src/common/expropt1.c * src/compiler/hbgenerr.c * src/compiler/hbmain.c + added new macros HB_ET_MACRO_NOLIST and HB_ET_MACRO_NOPARE % use new HB_ET_MACRO_* macros + added new compile time error: "Code block contains both macro and with object messages ':%s'" NOTE: -kd compiler switch allows to compile codeblocks with macros and declared symbols / with object messages * replaced hb_compErrorCodeblock() with hb_compErrorCodeblockDecl() and hb_compErrorCodeblockWith() + added new C function hb_compPushMacroVar() * code simplification ; added few comments
Przemysław Czerpak
2017-03-28 23:02:28 +02:00
7bcf8e85db
2017-03-23 12:15 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/compiler/harbour.y * create real function in internal memory instead of dummy flow control error for unclosed structures when new function/procedure declaration is found just to reset context for farther error reporting. It leaves unclosed structure on Bison stack but it's unimportant for us because result of such compilation is ignored due to detected errors and this modification resolves the problem with ignored pending declarations.
Przemysław Czerpak
2017-03-23 12:15:33 +01:00
5008371567
2017-03-20 12:28 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * contrib/hbgs/core.c ! fixed to build with new GS versions - fix borrowed from Viktor's branch
Przemysław Czerpak
2017-03-20 12:28:11 +01:00
d58d0f4ca3
2017-03-20 00:58 UTC+0200 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt) * src/compile/hbopt.c ! fixed 'assigned but not used' error detection for 'var op= val' code
Mindaugas Kavaliauskas
2017-03-20 00:59:06 +02:00
34418933fa
2017-03-15 14:39 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * include/hbdefs.h + added macros HB_CAST_*( double ) for conversions of double values to integer types - they are designed to hide some differences between C compilers and platforms in such conversions
Przemysław Czerpak
2017-03-15 14:39:47 +01:00
459cd1a2c5
2017-02-08 19:36 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * contrib/gtqtc/gtqtc1.cpp ! fixed clipboard selection with shift + left mouse button to not report mouse events during selection
Przemysław Czerpak
2017-02-08 19:36:46 +01:00
61a842ca59
2016-12-16 11:05 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * contrib/hbmisc/dates.c ! fixed WOY() to return some reasonable results. I have no idea what author wanted to reach but now WOY() be default returns ISO 8601 week number and simple week number if 2-nd parameter is .F.
Przemysław Czerpak
2016-12-16 11:05:10 +01:00
a52a2e57a4
2016-12-15 12:51 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * include/harbour.hbx * src/harbour.def * src/rtl/dateshb.c + added new PRG functions which convert time difference to hours, minutes, seconds and milliseconds. Except milliseconds the results are floating point numbers with fractional part representing the rest of conversion: hb_NToHour( <nTimeDiff> ) => <nHours> hb_NToMin ( <nTimeDiff> ) => <nMinutes> hb_NToSec ( <nTimeDiff> ) => <nSeconds> hb_NToMSec( <nTimeDiff> ) => <nMilliseconds> + added new PRG functions which convert timestamp value to hours, minutes, seconds and milliseconds. Except milliseconds the results are floating point numbers with fractional part representing the rest of conversion: hb_TToHour( <tTimeStamp> ) => <nHours> hb_TToMin ( <tTimeStamp> ) => <nMinutes> hb_TToSec ( <tTimeStamp> ) => <nSeconds> hb_TToMSec( <tTimeStamp> ) => <nMilliseconds>
Przemysław Czerpak
2016-12-15 12:51:24 +01:00
0b8990ede5
2016-11-16 16:10 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * contrib/hbssl/hbssl.h * contrib/hbssl/evppkey.c + added new C function void hb_EVP_PKEY_ret( EVP_PKEY * pkey );
Przemysław Czerpak
2016-11-16 16:10:37 +01:00
c80292f490
2016-10-28 12:29 UTC+0200 Viktor Szakats (vszakats users.noreply.github.com) * include/hbver.ch + add new HB_VER_* constants from 3.4
Viktor Szakats
2016-10-28 12:32:02 +02:00
c1bde05495
2016-10-26 12:50 UTC+0200 Viktor Szakats (vszakats users.noreply.github.com) - extras/hbdoc/_tmplate.prg - extras/hbdoc/hbdoc.ch * extras/hbdoc/_genbase.prg * extras/hbdoc/_genhtml.prg * extras/hbdoc/_gentxt.prg * extras/hbdoc/_genxml.prg * extras/hbdoc/hbdoc.hbp * extras/hbdoc/hbdoc.prg + improve readability by paragraphs spacing in DESCRIPTION sections + improve divs in section content for better control via CSS + improve readability of tables with borders and header hightlights * change default output to single-file + add support for the old <table>/<fixed> tags in html output until they are converted to something better + add support for <b>/<b>, <URL:url>, Markdown inline code, _emphasis_, *bold*, character escaping \*, line separators ===/---, and fenced code using triple backticks. Very limited and not with standard compliance or completeness in mind, just to be able to use some basic formatting. ; TODO: Markdown URL and lists, then replace all <b>,<URL>,<fixed> markup with Markdown equivalents in docs + better localization support + add support for one file per component output via -output-component cmdline option % assemble output in memory and write to disk in a single call % integrate external header % replace almost all internal arrays with hashes % replace self-modifying class and macro expansion with regular hashes % internal cleanups % switch to simpler method for sort weighting + merge category/subcategory values into tag list. It means they will be now be included in the output % cleanup/fix/simplify value expansions for 'compliance', 'status' and 'platform' fields % cleanup the way output engines are handles internally + add support for 'TAGS' entry to replace/extend the rigid and ambiguous CATEGORY/SUBCATEGORY-based categorization. It is meant to be a comma-separated list of freeform tags, possibly with a set of standard common tags, with the freedom to use anything else deemed useful by component/doc authors. + add footer showing the build date of the doc + include Git revision the doc is based on, link to the relevant source tree version. * various code refactoring steps to avoid unnecessary classes, arrays, macro evaluation, and using undocumented functions % various HTML5 tag improvements and optimizations + load HBX file contents and lookup each referenced symbol. Emit warning in verbose mode, if docs refers to non-existing one. (this replaces slow and broken logic based on hbextern.ch) + use core hbdoc API to load the documentation instead of locally rolled logic * always show those content problems that are considered fatal and the input doc to be skipped + filter docs to English language by default + add ability to choose language using a command-line option ! fix faulty validation logic that resulted in erronously skipping certain entries + identify docs' 'component' property automatically ! fix to not eat empty lines from examples + convert "see also" items to links (this works correctly only in single file output mode) ! fix to not break words (f.e. URLs) when outputting HTML % use shorter class names ! fix invalid element ID generated ! fix RTE when trying to create output by category % delete dummy "HTML2" output mode * convert more ASCII chars to better Unicode equivalents + mark more text as code automatically * drop MS-DOS compatibility
Viktor Szakats
2016-10-26 13:07:21 +02:00
da5de0c27b
2016-10-21 07:54 UTC+0200 Viktor Szakats (vszakats users.noreply.github.com) * extras/hbdoc/_genbase.prg * extras/hbdoc/_genhtml.prg * extras/hbdoc/_gentxt.prg * extras/hbdoc/_genxml.prg * extras/hbdoc/_tmplate.prg * extras/hbdoc/hbdoc.ch * extras/hbdoc/hbdoc.css * extras/hbdoc/hbdoc.hbp * extras/hbdoc/hbdoc.prg ! fix linter problems in generated html * html5/css cleanups * use VF IO ! fix double close in hbdoc ! fix file handle leak in hbdoc * use Class(y) syntax in class definitions * remove internal file references % use hb_AScanI() ! use hb_ATokens() instead of hand-rolled line splitting, making this code EOL agnostic % use hb_cwd(), hb_FName*(), hb_DirSep*() (also fixes potential portability issues) * cleanups/opts * cleaned doc tags % force disable LTO at link-time ! typo in comment ; notice that you can regenerate the docs for the Harbour website (https://harbour.github.io/doc/) using this command: extras/hbdoc$ hbmk2 hbdoc -run -runflag=-format=html -runflag=-output-single or in this fork, using this command: extras/hbdoc$ hbmk2 hbdoc -run ; for NF doc parsing I created an internal API long ago (it is used by HBIDE f.e.): hbmk2 -find __hbdoc_ usage examples in Harbour: grep -R __hbdoc_ * % optimized string handling / temp variable usage, IFs cleaned % enabled -kmo build options % cleaned header inclusion % reworked to not use PUBLIC vars at all % avoided some more macro expansions % converted a public var to hb_StrReplace() with hash * minor cleanups and optimizations * use PROTECTED obj vars % use SWITCH % merged some nested branches * use #if 0 for commented code % cleaned some array declarations % use hb_FNameExt() * avoid one macro expansion + added -run flags to regenarate docs for Harbour website * cleaned .AND./.OR. ambiguity % converted PUBLIC var to STATIC ; Above patches come from 3.4 fork commits below: 2016-09-20 02:31 UTC+0200 Viktor Szakats (vszakats users.noreply.github.com) 2016-09-19 18:51 UTC+0200 Viktor Szakats (vszakats users.noreply.github.com) 2016-09-19 18:03 UTC+0200 Viktor Szakats (vszakats users.noreply.github.com) 2015-07-18 17:57 UTC+0200 Viktor Szakats (vszakats users.noreply.github.com) 2015-06-28 11:27 UTC+0200 Viktor Szakats (vszakats users.noreply.github.com) 2015-06-05 20:47 UTC+0200 Viktor Szakats (vszakats users.noreply.github.com) 2015-03-17 13:54 UTC+0100 Viktor Szakats (vszakats users.noreply.github.com) 2014-12-13 03:15 UTC+0100 Viktor Szakats (vszakats users.noreply.github.com) 2014-07-15 23:04 UTC+0200 Viktor Szakats (vszakats users.noreply.github.com) 2014-06-21 12:46 UTC+0200 Viktor Szakats (vszakats users.noreply.github.com) 2014-06-20 15:38 UTC+0200 Viktor Szakats (vszakats users.noreply.github.com) 2014-02-12 01:58 UTC+0100 Viktor Szakáts (vszakats users.noreply.github.com) 2014-02-03 21:07 UTC+0100 Viktor Szakáts (vszakats users.noreply.github.com) 2014-02-03 19:19 UTC+0100 Viktor Szakáts (vszakats users.noreply.github.com) 2014-02-03 18:37 UTC+0100 Viktor Szakáts (vszakats users.noreply.github.com) 2014-02-03 18:22 UTC+0100 Viktor Szakáts (vszakats users.noreply.github.com) 2014-02-03 17:45 UTC+0100 Viktor Szakáts (vszakats users.noreply.github.com) ; plus various minor maintenance updates from multiple other commits
Viktor Szakats
2016-10-21 08:05:04 +02:00
bd2e492cca
1stread: minor fix to header
Viktor Szakats
2016-10-19 15:43:41 +02:00
9816af5b1f
1stread.txt: adapt URL
Viktor Szakats
2016-10-19 15:41:48 +02:00
24894493d3
2016-10-19 01:24 UTC+0200 Viktor Szakats (vszakats users.noreply.github.com) + contrib/hbxpp/doc/en/binnumx.txt + contrib/hbxpp/doc/en/browse.txt * sync more docs with 3.4 fork
Viktor Szakats
2016-10-19 01:25:24 +02:00
e063522691
2016-10-04 16:22 UTC+0300 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt) * contrib/hbwin/hbwin.ch + WIN_SERVICE_CONTROL_SHUTDOWN define added * contrib/hbwin/win_svc_1.c + implemented capability to have custom service control handler. win_serviceStart() optional parameter added: win_serviceStart( cName, bEntryFunc | sEntryFunc [, bControlFunc | sControlFunc ] ) The minimal control function implementation is: PROC SvcControl(nControl) IF nControl == WIN_SERVICE_CONTROL_STOP .OR. ; nControl == WIN_SERVICE_CONTROL_SHUTDOWN win_serviceSetStatus(WIN_SERVICE_STOP_PENDING) ENDIF RETURN If control function parameter is passed, service state will not be set to running by default. This allows to abort service on startup. If service is started, service main function should set running status by calling win_serviceSetStatus(WIN_SERVICE_RUNNING)
Mindaugas Kavaliauskas
2016-10-04 16:22:56 +03:00
6b115e1376
2016-10-02 23:20 UTC+0400 Phil Krylov (phil a t newstar.rinet.ru) * config/global.mk ! Fix cross-compiler detection when only HB_CCPREFIX is passed from environment.
Phil Krylov
2016-10-02 23:22:47 +03:00
35fe3becc7
2016-09-28 19:55 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * contrib/hbssl/hbssl.h * contrib/hbssl/ssl_sock.c * contrib/hbssl/ssl_inet.c + added new 'PHB_ITEM pSSL' parameter to hb_sockexNewSSL() and hb_ssl_socketNew() C functions - it allows to bind harbour item with SSL pointer which should not be released before connection is closed. In new OpenSSL version such tricks can be replaced by SSL_up_ref() This modification also fixes possible GPF trap when SSL filter socket was create dynamically from C code without SSL pointer item on HVM stack in 2-nd parameter and removes old hack which saved internally 2-nd HVM stack parameter. + allow to pass SSL_CTX instead of SSL in "ssl", "ctx" or "key" items of hash array used to initialize SSL socket filter. Using SSL_CTX allows to use the same hash array to set SSL socket filter for different connections + allow to use codeblocks or function pointers as "ssl", "ctx" or "key" items of hash array used to initialize SSL socket filter
Przemysław Czerpak
2016-09-28 19:55:11 +02:00
72016f2bc3
2016-09-22 15:47 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * include/hbapi.h * include/hbvmpub.h * removed casting C style casting from commonly used macros
Przemysław Czerpak
2016-09-22 15:47:08 +02:00
085b9d828e
2016-09-20 17:38 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * doc/xhb-diff.txt + added information about support for strong typed variables in [x]Harbour * updated information about typed object items ! typos
Przemysław Czerpak
2016-09-20 17:38:57 +02:00
d8c6c562f3
2016-09-05 17:04 UTC+0200 Viktor Szakats (vszakats users.noreply.github.com) * contrib/hbwin/hbwin.ch * contrib/hbwin/hbwin.hbp * contrib/hbwin/hbwin.hbx + contrib/hbwin/win_svc_2.c * contrib/hbwin/win_svc.c -> contrib/hbwin/win_svc_1.c + add function win_ServiceRun( <cName>, [...] ) -> <lSuccess> to start a service by name + add WIN_SERVICE_CONTROL_* constants + add function win_ServiceControl( <cName>, <nControlCode> ) -> <lSuccess> + add 2nd parameter to win_ServiceDelete( <cName>, <lForce> ) -> <lSuccess> <lForce> will attempt to stop the service before deleting it. % separate service management functions and Harbour app-as-service support functions into separate sources ; build-tested only, function names not finalized. * set wapi_GetLastError() more consistently + win_ServiceInstall() add two new optional parameters: <cUsername> (5th) and <cPassword> (6th) ! win_ServiceInstall() do not convert an omitted <cDisplayName> (2nd) parameter to empty string, pass it to Windows as NULL instead % use HB_IT_EVALITEM instead of ( HB_IT_BLOCK | HB_IT_SYMBOL ) ; Above patches come from 3.4 fork commits below: 2015-09-03 18:52 UTC+0200 Viktor Szakats (vszakats users.noreply.github.com) 2015-09-02 19:54 UTC+0200 Viktor Szakats (vszakats users.noreply.github.com) 2015-09-02 18:43 UTC+0200 Viktor Szakats (vszakats users.noreply.github.com) 2015-04-03 11:43 UTC+0200 Viktor Szakats (vszakats users.noreply.github.com) 2014-01-29 02:15 UTC+0100 Viktor Szakáts (vszakats users.noreply.github.com)
Viktor Szakats
2016-09-05 17:07:11 +02:00
6a6f4d962d
2016-08-10 20:12 UTC+0300 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt) * contrib/rddads/ads.ch + 64bit server type constants included
Mindaugas Kavaliauskas
2016-08-10 20:13:37 +03:00
8465bce36b
2016-07-04 19:01 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * contrib/gtwvg/wvgcore.c * contrib/gtwvg/wvgcuig.c ! use HB_MIN() macro instead of non-standard min() function ! use casting to double instead of float which may strip significant bits from 32bit numbers
Przemysław Czerpak
2016-07-04 19:01:10 +02:00
88fc3b1579
2016-05-04 15:50 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/rtl/hbsocket.c ! fixed very bad typo which caused buffer overflow on 32bit platforms using poll() instead of select() in hb_socketSelect()
Przemysław Czerpak
2016-05-04 15:50:31 +02:00
0f93e22120
2016-05-04 13:29 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/rtl/gtwin/gtwin.c ! strip ALT+CTRL and ALTGR from extended keycode when these modifiers are used with ASCII characters - it should fix problem with some national keyboards
Przemysław Czerpak
2016-05-04 13:29:21 +02:00
b00774f5c5
2016-04-29 16:25 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/rtl/filesys.c * src/rtl/hbcom.c * src/rtl/hbproces.c * src/rtl/hbsocket.c + added support for user build time macro HB_NO_POLL which disables poll() usage
Przemysław Czerpak
2016-04-29 16:25:28 +02:00
c0b5c749e0
2016-04-20 17:31 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/rtl/hbstrfmt.c * add to output trailing % in format pattern just like other % characters which are not part of valid format string, i.e. in this code: ? hb_StrFormat( "%-% %1%q%*%" ) only the last % was silently eaten from output
Przemysław Czerpak
2016-04-20 17:31:18 +02:00
f03c7b9e69
2016-04-20 17:19 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/rtl/hbstrfmt.c ! fixed wrongly added to output character after unclosed format strings, i.e. ? hb_StrFormat( "%1" ) ? hb_StrFormat( "%1%s", "x" )
Przemysław Czerpak
2016-04-20 17:19:11 +02:00
14fca14788
2016-04-19 23:14 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/common/hbffind.c * in *nix builds of hb_fsFind*() show "." leading file names if file mask also starts with "." regardless of hidden attribute state. This modification restores previous Harbour behavior keeping the new functionality.
Przemysław Czerpak
2016-04-19 23:14:29 +02:00
836e6420ba
2016-04-18 18:05 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/rtl/strrepl.c ! fixed hb_strReplace() for strings longer then 1024 bytes and array used in 3-rd parameter.
Przemysław Czerpak
2016-04-18 18:05:02 +02:00
7d1b59482d
2016-04-18 17:33 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * contrib/gtqtc/gtqtc1.cpp * src/rtl/gtwin/gtwin.c * src/rtl/gtwvt/gtwvt.c ! changed extended keycodes generated for ASCII characters combined with ALT and/or CTRL flags. It fixes problems with code giving the highest priority for: ! hb_keyChar( nKey ) == "" i.e. MemoEdit()
Przemysław Czerpak
2016-04-18 17:33:43 +02:00
7ab8ae631d
2016-04-08 14:30 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * include/hbsocket.ch * src/rtl/hbsocket.c + added support for high-priority/out-of-bound data in select() emulated by poll() + added macros for socket send()/recv() flags: HB_SOCKET_MSG_*
Przemysław Czerpak
2016-04-08 14:30:05 +02:00
aedce5da71
2016-04-07 18:48 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) + tests/pipes.prg + added demonstration/test code for communication between processes by unnamed pipes. The final output is send to stderr and can be redirected to file by 2> pipes.log
Przemysław Czerpak
2016-04-07 18:48:44 +02:00
d2cfbe3d56
2016-04-06 15:18 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/common/hbstr.c * src/rtl/hbcom.c * src/rtl/hbproces.c * pacified few warnings - thanks to Viktor
Przemysław Czerpak
2016-04-06 15:18:50 +02:00
97fd742f71
2016-04-06 13:11 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/rtl/hbproces.c ! fixed infinite loop due to ignored POLLHUP errors reported by poll() ! fixed stupid typo
Przemysław Czerpak
2016-04-06 13:11:20 +02:00
5a2af0b426
2016-04-05 21:24 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/rtl/gttone.c ! use asm {} directive only in CLANG BCC builds - asm {} needs TASM so using it breaks Harbour compilation with free BorlandC command line tools which do not contain TASM.
Przemysław Czerpak
2016-04-05 21:24:05 +02:00
5fbaa12158
2016-04-01 00:28 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/rtl/direct.c ! removed set of MS-Windows attributes passed unconditionally to hb_fsFind*() functions in Directory() PRG function. It fixes "L" attribute passed in 2-d parameter of Directory() function in *nix builds. When "L" is given in attribute list then Directory() do not follow links.
Przemysław Czerpak
2016-04-01 00:28:27 +02:00
1f5866cce8
2016-03-30 16:35 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * include/hbdefs.h ! use "ll" instead of "I64" as 64bit integer modifier in *printf() functions in Embarcadero CLANG based compilers
Przemysław Czerpak
2016-03-30 16:35:49 +02:00
7af9c8c8ef
2016-03-30 16:10 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/rtl/gttone.c * applied patch from Andi Jahja for new BCC versions - many thanks
Przemysław Czerpak
2016-03-30 16:10:34 +02:00
b5182e2aec
2016-03-28 13:09 UTC+0200 Viktor Szakats (vszakats users.noreply.github.com) * config/dyn.mk * config/win/mingw.mk * src/dynlib/2nd/Makefile * src/dynlib/Makefile + src/harbour.def + use .def file to specify public symbols of harbour.dll for more details, see: f238e5f81fb2c9e4a63b ; NOTE: please make sure to add any new public (HB_EXPORT) symbols to this list. Ordinals are not significant ATM so the best is to keep alphabetical order.
Viktor Szakats
2016-03-28 13:13:29 +02:00
3b77191f9f
2016-03-25 17:05 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * include/hbclass.ch ! use more restrictive PP rules to avoid possible wrong interactions with code using 'var' and 'data' identifiers * force class name to be valid identifier * commented unused rules
Przemysław Czerpak
2016-03-25 17:05:31 +01:00
0d57fdacfa
2016-03-18 17:42 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * include/harbour.hbx * src/rdd/dbcmd.c + added new function: hb_dbGetFilter() -> <bCode> | NIL it returns codeblock used as work area filter or NIL
Przemysław Czerpak
2016-03-18 17:42:58 +01:00
fb2004d566
2016-03-08 22:10 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/rtl/isprint.c ! HB_ISPRINTER(), ISPRINTER() fix to open the port name with CREATE flag (= CREATE_ALWAYS on Windows). It may fix port detection in certain situations. Tested on Windows 7 x86 and x64, whereas it will now return .T. if the port is associated with a queue, and .F. if it isn't. It seems to cause no harm on OS X. Please test it on other systems and other LPT scenarios (f.e. with real hardware device attached). ; borrowed from Viktor's fork: 2016-03-08 18:19 UTC+0100 Viktor Szakats
Przemysław Czerpak
2016-03-08 22:10:30 +01:00
207ab1cbfd
2016-03-01 16:11 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/rtl/gttrm/gttrm.c + added support for CYGWIN ssh terminal (i.e. ssh.exe included in github for MS-Windows) ! fixed support for terminals which always scrolls when the most upper/right character is written. In current version GTTRM simply ignores this character cell. On such terminals it can be shown by writing the last character one cell before then sending escape sequences to move cursor back, insert one space and finally restoring overwritten character cell value. Anyhow it increases number of used escape sequences so I decided to not implement it yet.
Przemysław Czerpak
2016-03-01 16:11:53 +01:00
24633c2478
2016-02-16 22:30 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * include/hbapirdd.h * src/rdd/wacore.c * src/rdd/workarea.c + added new C function which allows to register RDD redirector which depends on used table name: typedef LPRDDNODE ( * HB_RDDACCEPT ) ( LPRDDNODE pRddNode, const char * szFileName ); void hb_rddSetFileRedirector( HB_RDDACCEPT funcAccept, HB_BOOL fEnable ); + added new C functions which allows to find RDD respecting active redirectors: const char * hb_rddFindDrv( const char * szDriver, const char * szFileName ); LPRDDNODE hb_rddFindFileNode( LPRDDNODE pRddNode, const char * szFileName ); * cleaned some HB_TRACE messages
Przemysław Czerpak
2016-02-16 22:30:22 +01:00
e8469028d1
2016-02-16 15:44 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/rtl/hbgtcore.c ! fill whole box area in DispBpx() when 0 length string or string with Chr( 0 ) at the beginning is used as box frame - Cl*pper compatible behavior
Przemysław Czerpak
2016-02-16 15:44:20 +01:00
c209c27120
2016-02-09 18:11 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * contrib/hbnetio/hbnetio.hbx * contrib/hbnetio/netiocli.c * contrib/hbnetio/readme.txt + added new client side function: netio_SetPath( <pConnection> [, <cPath>] ) -> [<cPrevPath>] It set/get path prefix for automatic file redirection to HBNETIO. If automatic redirection is activated then <cPath> is removed from file name passed to HBNETIO server, i.e.:
Przemysław Czerpak
2016-02-09 18:11:42 +01:00
d94bc8bac7
2016-02-08 22:38 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * doc/xhb-diff.txt * updated chapter "MACROS WITH DECLARED SYMBOLS" - better description for -km and -kd Harbour compiler switches * updated chapter "MACRO MESSAGES" - refreshed description of xHarbour compiler for current versions
Przemysław Czerpak
2016-02-08 22:38:21 +01:00
e0d93d603c
2016-02-05 18:22 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * contrib/hbct/token2.c ! fixed TokenInit() after my recent modifications - many thanks to Tony for exact information about the problem.
Przemysław Czerpak
2016-02-05 18:22:44 +01:00
119c842a5b
2016-02-04 17:02 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * include/hbapifs.h * src/rtl/filesys.c + added new C function: HB_FOFFSET hb_fsGetSize( HB_FHANDLE hFileHandle ); ! fixed SetFilePointer() error detecting - it was broken and we returned wrong results for offset 0xFFFFFFFF * src/rtl/filebuf.c * use hb_fsGetSize()
Przemysław Czerpak
2016-02-04 17:02:32 +01:00
301e4553a9
2016-01-28 13:20 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/rtl/hbsocket.c * enabled new socket functions in MSC 18.0 (before was MSC 19.0) If someone uses this compiler and this modification created problem then please let me now.
Przemysław Czerpak
2016-01-28 13:20:03 +01:00