* harbour/source/rtl/gttrm/gttrm.c
* use ECMA-48 compatible sequence to disable bold intensity also
on Linux terminals (one byte longer but will work also in some
non Linux terminals which do not emulate it well)
* use STDIN handle for full screen output when STDOUT redirected
to non terminal device, f.e. file.
* harbour/include/hbgtcore.h
* harbour/source/rtl/gtchrmap.c
* harbour/source/rtl/gtcrs/gtcrs.c
* harbour/source/rtl/gttrm/gttrm.c
+ added 3-rd parameter BOOL fSetACSC to hb_gt_chrmapinit() function
* initialize ACSC translation for XTERM like terminals when
hb_charmap.def file cannot be found or there is no valid
section for used terminal
+ harbour/tests/gtchars.prg
+ harbour/tests/gtcolors.prg
+ harbour/tests/gtkeys.prg
+ added test ptograms for GT drivers to test all character output and
automatic CP translation, colors settings and keyboard/mouse input
* harbour/bin/pack_src.sh
+ added GTTRM to compressed file list
* harbour/include/hbgtcore.h
+ added HB_GT_ATTR_UNDEF
* harbour/source/rtl/hbgtcore.c
* minor cleanup in COLD() method
* harbour/source/rtl/gtchrmap.c
* disable control characters when hb_charmap.def file cannot be found
or there is no valid section for current terminal inside
* harbour/source/rtl/gttrm/gttrm.c
- removed OUTERR() and OUTSTD() method - the default one are enough
+ set CLIPKEY flag in GTI_ADDKEYMAP
* harbour/source/rtl/gtchrmap.c
* removed 'static const' from s_szDefaultCharMapFile declaration
I forgot that it was used by some build scripts I made public
few years ago - I'll change these declaration when I'll add
alternative method of changing default charmap file.
* harbour/source/rtl/gttrm/gttrm.c
+ added support for SetBlink(.f.) working like in GTCRS and GTSLN.
We cannot change from the server side the interpretation of BLINK
attribute in 99% of terminals (it has to be done on client side)
so SetBlink(.f.) simply disables sending BLINK attribute to terminal.
* harbour/include/hbgtinfo.ch
+ added GTI_ADDKEYMAP and GTI_DELKEYMAP
* harbour/include/hbapicdp.h
* harbour/source/rtl/cdpapi.c
+ added const to declarations of some function parameters
* harbour/include/hbgtcore.h
* harbour/source/rtl/Makefile
+ harbour/source/rtl/gtchrmap.c
* harbour/source/rtl/gtcrs/Makefile
- harbour/source/rtl/gtcrs/chrmap.c
* harbour/source/rtl/gtcrs/gtcrs.c
* harbour/source/rtl/gtcrs/gtcrs.h
* hb_gt_chrmapinit() common function now for different GT drivers
* minor cleanup in GTCRS code
* harbour/include/hbcompat.ch
+ added some new translation rules
* harbour/include/hbapi.h
* cleanup comment
* harbour/source/pp/ppcore.c
! fixed line numbering when errors are reported in different order
due to preprocessing extended code block
+ harbour/source/rtl/gttrm
+ harbour/source/rtl/gttrm/Makefile
+ harbour/source/rtl/gttrm/gttrm.c
+ added new GT driver - it's terminal driver like GTCRS and GTSLN
but it does not use any external library like [N]CURSES or SLANG
so it can be compiled in nearly all POSIX systems. It's not such
flexible like curses or slang base drivers because instead of
using termcap/terminfo databases to extract terminal capabilities
it uses some hard coded sequences for few terminals (now Linux, ANSI,
XTERM) but it should cover users requests in 95% of cases. Terminals
I tested are quite well supported (GTTRM works even better then GTCRS
or GTSLN and is much faster in full screen mode - 2-4 times).
I noticed that most terminal emulators works much better with GTTRM
then with GTCRS or GTSLN due to limited list of used escape sequences
so some minor differences in each terminal implementation are not
noticeable. GTTRM automatically detects ISO/UTF8 terminal mode and
chose valid output what should also help *nix users.
Now I would like to ask BSD and MacOSX users to test GTTRM in these
systems with pure text console and XWindow terminal emulators. I'm
interesting in any problems you may found.
* harbour/source/vm/hvm.c
+ added protection for possible GPF caused by wrong .prg code
* harbour/source/vm/maindllp.c
% store function addreses in static variables to improved execution
speed
+ added support for compilers which does not use "_" as function prefix
+ added support for using with harbour*.dll
* harbour/source/vm/memvars.c
+ added new method of detaching enumerators and array item references
covered by HB_COMPAT_XHB macro. xHarbour does not work in such way
but the final results are similar.
* harbour/source/vm/dynlibhb.c
+ added protection against passing wrong pointer items to HB_LIB*()
functions
* harbour/source/common/reserved.c
* cleaned warning
* harbour/bin/hb-func.sh
* harbour/config/hpux/global.cf
* harbour/config/darwin/global.cf
* harbour/config/linux/global.cf
* harbour/config/sunos/global.cf
* harbour/config/bsd/global.cf
+ added GTTRM to library list
* harbour/doc/whatsnew.txt
* harbour/harbour.spec
* harbour/include/hbver.h
* small information about new release
* updated version number to 1.1.1
* tagged as build48
* harbour/doc/whatsnew.txt
* harbour/harbour.spec
* harbour/include/hbver.h
* small information about new release
* updated version number to 1.1.1
* tagged as build48
* harbour/include/hbcompat.ch
+ added translation rules for extended code blocks
* harbour/source/compiler/gencc.c
* cleaned C compiler warnings in -gc3 output and SWITCH <exp>
statement
* harbour/source/compiler/complex.c
* harbour/source/compiler/harbour.y
* harbour/source/compiler/harbour.yyc
* allow to use 0d0 and 0d00000000 as empty date value
* harbour/source/pp/Makefile
* workaround for problems with some GNU make versions,
f.e. 3.76.1 on OS2
* harbour/contrib/rdd_ads/ads1.c
* cleaned BCC warning
* harbour/include/hbapi.h
* harbour/source/vm/arrays.c
+ added set of hb_arraySet*() functions - I hope they will help 3-rd
party developers to eliminate using C stack level HB_ITEM and
reduce usage of potentially danger function like hb_arrayGetItemPtr()
* harbour/include/hbapiitm.h
* harbour/source/vm/itemapi.c
+ added hb_itemReturnRelease()
* harbour/include/hbcompat.ch
+ added hb_pvalue() <-> pvalue() translations
* harbour/source/vm/pvalue.c
+ added support for 2-nd parameter for assugb operation, f.e. now
hb_pvalue( 3, "abc" )
sets "abc" to 3-rd function parameter
* harbour/source/compiler/gencc.c
* harbour/source/compiler/hbopt.c
! fixed two buggy optimizations
* harbour/source/compiler/genc.c
* allow to use #pragma begindump / enddump in .prg files without
any .prg code
* harbour/source/vm/hvm.c
! fixed assign in overloaded []
* harbour/harbour.spec
* restored original national characters which were unintentionally
damaged on 2006-06-29 08:25 UTC+0200 Tomaz Zupan
Toma¾ please do not use editors which will change national characters
in the whole file when you will change harbour.spec in the future
* harbour/harbour.spec
* some minor cleanups in Requires section and added %{epoch}
* harbour/make_rpm.sh
* build Harbour GD library only when GD 2.0 or newer is installed
* harbour/include/hbapicls.h
* changed extern hb_bProfiler to local HVM static variable
* harbour/source/vm/hvm.c
+ added two macros HB_NO_TRACE and HB_NO_DEBUG for these people
who needs/wants to test HVM speed without debugger support
and PRG call tracing - the difference is rather small
* harbour/contrib/hbzlib/zip.c
* cleaned some warnings
* harbour/contrib/ole2/w32ole.c
* harbour/contrib/ole2/win32ole.prg
* changed deinitialization code to allow using OLE in .prg object
destructors and user EXIT functions
* added support for FOR EACH overloading - not tested please check
% use BEGIN SEQUENCE WITH as TRY / CATCH replacement
* harbour/contrib/hbzlib/include/stdafx.h
* harbour/contrib/hbzlib/include/ziparchive.h
* cleaned some warnings
* harbour/include/hbexprb.c
* harbour/include/hbexprop.h
* harbour/source/common/expropt2.c
* restored Mindaugas code for UPPER optimization and added logic to
optimize UPPER for strings with only Latin letters, digit and spaces
just like in Clipper. Now code like:
? Upper( chr(65)+chr(66)+chr(67)+"0123 QWE asd " ) + "ZXC"
is fully optimized at compile time to single string expression.
% optimized hb_compExprReduceCHR() by eliminating memory allocation
for new string
! fixed typo in my previous commit
* harbour/include/hbexprop.h
* harbour/include/hbexprb.c
* harbour/source/common/expropt2.c
* added UPPER("") optimisation. The side effect of this modification
is that Harbour becomes Clipper bug compatible in calculation of
AT(UPPER(""), "test"). Though this optimisation does not introduce
any buggy behaviour itself.
* harbour/contrib/hbzlib
* replaced with the one borrowed from xharbour, source modifications by Przemek
* harbour/contrib/hbzlib/makefile
* harbour/contrib/hbzlib/makefile.bc
* harbour/contrib/hbzlib/makefile.vc
* harbour/contrib/hbzlib/zip.c
* harbour/contrib/hbzlib/include/zipfilemapping.h
* harbour/contrib/hbzlib/include/zipautobuffer.h
* harbour/contrib/hbzlib/include/hbzip2.h
* changed to make contrib/hbzlib working with harbour
+ harbour/contrib/hbzlib/hbcomprs.c
+ harbour/contrib/hbzlib/include/hbcomprs.h
+ added to make contrib/hbzlib working with harbour
+ harbour/contrib/hbzlib/doc
+ harbour/contrib/hbzlib/doc/zipnew.txt
+ added documentation borrowed from xharbour/doc/en
- harbour/contrib/hbzlib/BccW32.cfg
- removed unuseful file
* harbour/harbour.spec
* harbour/make_rpm.sh
* harbour/contrib/Makefile
* cleanup and added HB_CONTRIBLIBS to set additional contrib libraries
+ added -with xhb switch to build Harbour RPMs with HB_COMPAT_XHB
macro
* harbour/contrib/mysql/Makefile
+ added -I/usr/include/mysql -I/usr/local/include/mysql to C compiler
flags
* harbour/contrib/mysql/tmysql.prg
* harbour/contrib/mysql/tsqlbrw.prg
* cleaned -w2 warnings - in few places I added HB_SYMBOL_UNUSED()
which should be replace sin the future by valid code
* harbour/harbour.spec
* set attributes explicitly to clean some wrong attributes committed
to CVS and minor cleanup
* harbour/include/hbapierr.h
* harbour/source/rtl/errorapi.c
+ added hb_errorBlock()
* harbour/source/macro/macro.yyc
* harbour/source/compiler/harbour.yyc
* manual hack to pacify BCC warning messages
* harbour/include/hbpcode.h
* harbour/include/hbxvm.h
* harbour/source/compiler/genc.c
* harbour/source/compiler/gencc.c
* harbour/source/compiler/harbour.y
* harbour/source/compiler/harbour.yyc
* harbour/source/compiler/hbdead.c
* harbour/source/compiler/hbfix.c
* harbour/source/compiler/hblbl.c
* harbour/source/compiler/hbmain.c
* harbour/source/compiler/hbopt.c
* harbour/source/compiler/hbpcode.c
* harbour/source/compiler/hbstripl.c
* harbour/source/vm/hvm.c
+ added support for:
BEGIN SEQUENCE WITH <errorBlockExp>
[<statements;...>]
[ RECOVER [ USING oErr ] ]
...
[ ALWAYS ]
...
END
It works like normal BEGIN SEQUENCE but sets <errorBlockExp> as
ErrorBlock() before executing <statements;...> and restore
previous ErrorBlock() at the end or when exception will appear.
I hope it will make some xHarbour user happy ;-)
* harbour/include/hbcompat.ch
+ added preprocessor directive for TRY / CATCH / FINALLY / END
working like in xHarbour - translated to:
BEGIN SEQUENCE WITH { |oErr| Break( oErr ) }
...
[ RECOVER [ USING oErr ] ]
...
[ ALWAYS ]
...
END
* harbour/make_gnu.sh
* updated msgs
* harbour/pach_src.sh
* added contrib/gd
* harbour/make_rpm.sh
* harbour/harbour.spec
* added support for --with gd, --with pgsql, --with pgsql4 and --without tip
* contrib/tip/cgi.prg
* added lDumpHtml to create a dump of the html useful for syntax check
* added support for "var" and "src" in both scripts and styles
* contrib/pgsql/tpostgre.prg
* added ::Read() method to use in forward only loop
* instead of while !::eof() ... ::skip()
* several optimizations now in a typical loop it is 30% faster
* !!! now char fields are not sized to len !!!
* harbour/source/compiler/harbour.yyc
* synced with recent modifications in harbour.y - I missed it.
* harbour/source/hbpcre/pcrecomp.c
* cleaned some waning reported by Lorenzo
* harbour/common.mak
* harbour/makefile.vc
* added some missing declaration for PCRE library
* harbour/include/hbregex.h
* added PCRE_STATIC - it fixes problem with MinGW build
* harbour/utils/hbrun/Makefile
* removed one redundant hbpcre from library list