* harbour/src/rtl/gttrm/gttrm.c
! fixed support for national characters in terminals working in
ISO mode
* harbour/contrib/xhb/xhbfunc.c
* minor code simplification
* harbour/doc/xhb-diff.txt
* typo
* contrib/hbnf/aredit.prg
! deleted code that never worked right, and it's a
condition the caller can easily check anyway
* contrib/hbnf/isprint.c
+ enabled [HB_]ISPRINT() on *nix system. It will try to
open the passed device name. default is /dev/lp0.
* src/rtl/hbsocket.c
! fixed dos/watcom error
* src/rtl/isprint.c
! FT_ISPRINT(): default to PRN on non-*nix
* extras/hbvpdf/hbvpdf.ch
* extras/hbvpdf/hbvpdf.prg
% reduced file size by changing long decoration comments
* CRLF macro moved to source file from public header. INCOMPATIBLE.
* contrib/hbnf/any2any.prg
* optimized out macro
* contrib/hbnf/fttext.c
* contrib/hbnf/hbnf.hbx
* deleted public function which was not there in original
in this form (it was ASM specific debug trick)
* contrib/hbnf/asum.prg
* formatting
* contrib/hbformat/hbfmtcls.prg
+ added one known and one new minor TOFIX
+ Array2File() changed to strip extra EOLs from the end
of file (sometimes and extra EOL is generated by
hbformat).
* src/debug/debugger.prg
* src/rtl/tbrowse.prg
* src/vm/harbinit.prg
* utils/hbmk2/hbmk2.prg
* formatting changed so that its fit
hbformat style
* contrib/sddmy/tests/test1.prg
* contrib/sddoci/tests/test1.prg
* contrib/sddodbc/tests/test1.prg
* contrib/sddodbc/tests/test2.prg
+ added missing #require-s, anyways they don't run as scripts
with the previously reported error.
* ChangeLog
! typos
* utils/hbmk2/hbmk2.prg
* avoid splitting branching statements with #if branches
to make it easy for hbformat to do its job.
(patched hbformat still fails around line 3900)
* contrib/xhb/htmutil.prg
+ TOFIX added for unicode incompatible Greek CP conversion
(from what to what it's not marked)
* contrib/hbct/getsecrt.prg
! GETSECRET() fixed to not access protected TGETLIST
variables when SET KEY is pressed.
* hbformatted
* contrib/hbformat/hbfmtcls.prg
* applied formatting changes from Maurizio's patch
(it makes it easier to see what changed)
* contrib/hbnf/prtscr.c
% optimized
* contrib/xhb/xhbhash.c
* use HB_FUNC_TRANSLATE() on two extra functions which
were reimplemented but the same implementations also exist
in core so they can be used: HB_HSETAUTOADD()/HB_SETCASEMATCH()
* contrib/hbmisc/hb_f.c
! fixed clang warning
* contrib/hbzebra/datamtrx.c
! applied patch from Mindaugas, fixing literal truncation
warning on MSVC. Thank you.
* include/harbour.hbx
* src/rtl/mouse53.c
+ added HB_MGETBOUNDS( /* @ */ nTop, /* @ */ nLeft, /* @ */ nBotton, /* @ */ nRight ) -> NIL
* contrib/hbnf/hbnf.hbx
* contrib/hbnf/mouse.c
* contrib/hbnf/mouse1.prg
* all possible MS-DOS specific mouse handling
functions rewritten in Harbour using core mouse API.
Now the included sample more or less work.
There are still two important functions (FT_MBUT*())
that are MS-DOS specific and don't work. Have no
idea yet how to rewrite these in multiplatform way,
they work in very MS-DOS specific way.
! fixed few bugs along the way. Maybe introduced new
ones. It doesn't help that NF functions (sometimes?)
use X for vertical and Y for horizontal position.
* contrib/hbnf/tests/mouse1.prg
% turn cursor off to avoid excessive flicker
* contrib/hbnf/fttext.c
* contrib/hbnf/tests/metaph.prg
* contrib/hbnf/tests/prtesc.prg
* extras/gtwvw/docs/funclist.txt
* formatting (mostly fighting long separator lines still)
* src/rtl/mousehb.c
% use HB_FUNC_TRANSLATE()
* harbour/src/rtl/gtdos/gtdos.c
! fixed MK_FP() macro
* use HB_PEEK_BYTE() and HB_POKE_BYTE() macros if possible
- removed POKE_BYTE() macro
* renamed outport() to outportw()
; question: why this code was updating number of lines at 0x0004:0084
after some set modes? Is it necessary?
* src/rtl/gtdos/gtdos.c
* TOFIX added about duplicate macros with same functionality
but different name (POKE_BYTE/HB_POKE_BYTE)
! fixed C++ comment
! fixed indenting/formatting in few places
* contrib/hbnf/page.c
- disabled FT_SETVPG()/FT_GETVPG() to do anything
even on MS-DOS, because no other functions support
video pages.
* contrib/hbnf/hbnf.hbp
- contrib/hbnf/poke.c
* contrib/hbnf/peek.c
* contrib/hbnf/support.c
+ Implemented FT_PEEK()/FT_POKE()/FT_INP()/FT_OUTP()
for MS-DOS platform. Macros taken from gtdos.c.
(build tested with Watcom/DOS. Might break in
other build and not work in any of them. Please
test)
* contrib/hbnf/vidcur.prg
+ Implemented FT_SETVCUR()/FT_GETVCUR() w/o page
support, using GT.
* contrib/hbnf/kspeed.c
* contrib/hbnf/page.c
* renamed variable to be uniform
* contrib/hbnf/scancode.prg
* added TODO comment
- contrib/hbnf/readme.txt
- deleted, now TODOs are in source
* src/compiler/complex.c
! added missing HB_SIZE case
* src/rdd/dbffpt/dbffpt1.c
* src/rdd/dbfnsx/dbfnsx1.c
* src/rdd/dbfntx/dbfntx1.c
* suppressed remaining MSVC 32 and 64 bit warnings
(a very long time TODO). I used casts named after
the type it casts to, so they are easy to identify:
HB_ULONGCAST, HB_[U]SHORTCAST, HB_INTCAST
So they can be searched for or converted to proper
types in the future.
This is the complete list of MSVC warnings that remain
after this:
---
harbour.y(1077) : warning C4244: '=' : conversion from 'HB_SIZE' to 'int', possible loss of data
harbour.y(1371) : warning C4309: 'argument' : truncation of constant value
harbour.y(1374) : warning C4309: 'argument' : truncation of constant value
harboury.c(4089) : warning C4244: '=' : conversion from 'int' to 'yytype_int16', possible loss of data
harboury.c(7737) : warning C4702: unreachable code
harboury.c(7776) : warning C4701: potentially uninitialized local variable 'hb_comp_yylval' used
macroy.c(1786) : warning C4065: switch statement contains 'default' but no 'case' labels
macroy.c(1915) : warning C4244: '=' : conversion from 'int' to 'yytype_int16', possible loss of data
macroy.c(3254) : warning C4702: unreachable code
macroy.c(3293) : warning C4701: potentially uninitialized local variable 'hb_macro_yylval' used
../../../dbffpt1.c(521) : warning C4310: cast truncates constant value
../../../dbffpt1.c(904) : warning C4310: cast truncates constant value
hbzebra\datamtrx.c(149) : warning C4310: cast truncates constant value
---
* contrib/hbnf/acctmnth.prg
* contrib/hbnf/acctqtr.prg
* contrib/hbnf/acctweek.prg
* contrib/hbnf/acctyear.prg
* contrib/hbnf/savearr.prg
% some more minor cleanups and opts
* contrib/hbnf/hbnf.hbx
* contrib/hbnf/mouse.c
* contrib/hbnf/mouse1.prg
% removed many .prg layer stub functions
! fixed lots of typos and other bugs.
* contrib/hbnf/menu1.prg
* contrib/hbnf/popadder.prg
% two internal callbacks made STATIC. INCOMPATIBLE, but doubtful
anybody would use these accidentally public special functions.
- contrib/hbnf/dosver.prg
- contrib/hbnf/isshare.prg
- contrib/hbnf/mouse2.prg
- contrib/hbnf/page.prg
- contrib/hbnf/vidmode.prg
* contrib/hbnf/at2.prg
* contrib/hbnf/blink.prg
* contrib/hbnf/byteneg.prg
* contrib/hbnf/cntryset.prg
* contrib/hbnf/d2e.prg
* contrib/hbnf/diskfunc.prg
* contrib/hbnf/dispc.c
* contrib/hbnf/elapmil.prg
* contrib/hbnf/elapsed.prg
* contrib/hbnf/findith.prg
* contrib/hbnf/floptst.prg
* contrib/hbnf/ftint86.c
* contrib/hbnf/ftint86.ch
* contrib/hbnf/getver.c
* contrib/hbnf/getvid.c
* contrib/hbnf/hbnf.hbp
* contrib/hbnf/hbnf.hbx
* contrib/hbnf/hex2dec.prg
* contrib/hbnf/madd.prg
* contrib/hbnf/menu1.prg
* contrib/hbnf/mouse.c
* contrib/hbnf/mouse1.prg
* contrib/hbnf/nooccur.prg
* contrib/hbnf/nwlstat.prg
* contrib/hbnf/nwsem.prg
* contrib/hbnf/nwuid.prg
* contrib/hbnf/rand1.prg
* contrib/hbnf/savearr.prg
* contrib/hbnf/scregion.prg
* contrib/hbnf/sinkey.prg
* contrib/hbnf/sleep.prg
* contrib/hbnf/tempfile.prg
! FT_MBUTPRS() fixed RTE
! fixed FT_DSKFREE(), also made it work on platform w/o drive letters
! fixed FT_DSKSIZE(), also made it work on platform w/o drive letters
! fixed FT_DOSVER() to return string type on all platforms
+ rewritten functions to use HB_BIT*() and hex number handling functions
+ rewritten FT_SLEEP() to use hb_idleSleep() internally
% dispc.c rewritten to use hb_gtRectSize( 0, 0, 0, 0, &nSize ) to find
out cell size and cleaned code to adapt with minimal redundancy
% optimized out several .prg level stubs
% using SWITCH, hb_default(), hb_ntos() in some more places
* removed some unuseful macros
* minor formatting
+ fixed warnings and errors and enabled mouse1.prg
% deleted outdated and duplicate mouse2.prg
% deleted lots of MS-DOS specific commented code
! deleted #include for stdlib.h and string.h
* include/hbapigt.h
* src/rtl/gtapi.c
- deleted just added hb_gtIsCompatBuffer().
It's better to use hb_gtRectSize( 0, 0, 0, 0, &nSize ) for this purpose.
* contrib/hbformat/hbfmtcls.prg
* minor formatting
* tests/tstgtapi.c
! fixed to compile with current GT API
* contrib/hbfbird/firebird.c
! fixed to use ANSI C comments
* contrib/hbfbird/tfirebrd.prg
! fixed possible typo in prev in 'FBGetdata( qry, 1 )'
instead of 'FBGetdata( qry, 3 )'
! formatted, long line split.
* ChangeLog
+ added incompatibiliy note to 2012-10-15 21:48 UTC+0200.
it will now force field names to their aliases.