* contrib/hbfbird/tfirebrd.prg
* contrib/hbfbird/tfirebrd.prg
+ added support for aliases in sql queries
! proper transtaltion sql TIMESTAMP -> harbour`s T value type
* include/hbapigt.h
* src/rtl/gtapi.c
+ added HB_BOOL hb_gtCompatBuffer() to return the status
of HB_GTI_COMPATBUFFER setting.
BTW, shouldn't the default setting be changed to be
Clipper compatible?
* contrib/hbnf/dispc.c
+ added support for the now default HB_GTI_COMPATBUFFER == .F. mode.
% exit char string is now internally converted to a keycode list.
* use HB_UCHAR (was char) for buffer cells.
* TOFIX changed for support for input file encoding and
translating this to unicode when putting to screen.
* contrib/hbnf/dfile.prg
+ FT_DFSETUP() 9th parameter got a Harbour extension by
enabling an old low-level feature to be able to pass
list of exist chars as array of numerics. This is unicode
compatible.
* contrib/hbnf/tests/dfile.prg
+ Pass array of numerics to FT_DFSETUP() function, which
make K_F3 exit key work.
+ Display keyboard as number and as char in unicode compatible way.
* utils/hbmk2/hbmk2.prg
* explicitly turn off HB_GTI_COMPATBUFFER for scripts
to not depend on Harbour default
- contrib/hbmysql/utils
- contrib/hbmysql/utils/dbf2mysq.prg
- contrib/hbmysql/utils/hbmk.hbm
+ contrib/hbmysql/tests/dbf2mysq.prg
* moved to tests (in sync with hbpgsql)
* src/rtl/hbi18n2.prg
! fixed to use HB_ASCAN() instead of ASCAN() when 5th
extension parameter is used.
* src/debug/debugger.prg
* contrib/hbfbird/tfirebrd.prg
* contrib/hbnf/clrsel.prg
* contrib/hbmysql/tmysql.prg
* contrib/hbmysql/tests/dbf2mysq.prg
* contrib/hbtip/ftpcli.prg
* extras/hbdoc/hbdoc.prg
* extras/hbdoc/tmplates.prg
! use HB_ASCAN( x, y,,, .T. ) to avoid relying on _SET_EXACT
% use ASCAN() instead of HB_ASCAN() if Harbour extension are not used (hbdoc)
* contrib/gtwvg/tests/modal.prg
! use HB_ASCAN( x, y,,, .T. ) to avoid relying on _SET_EXACT
! use HB_KEYCHAR() instead of CHR() on key codes
* contrib/xhb/tedit.prg
* contrib/xhb/thtm.prg
* contrib/xhb/xhbole.prg
* tests/fortest.prg
* tests/initexit.prg
* tests/statinit.prg
* tests/vidtest.prg
* tests/rddtest/rddtst.prg
* extras/hbdoc/hbdoc.prg
* renamed STATIC vars to start with 's_'
* renamed PUBLIC/PRIVATE vars to start with 'p_'
* renamed STATIC "const" vars to start with 'sc_'
* contrib/hbsqlit3/hdbcsqlt.prg
* contrib/xhb/tedit.prg
* hbformatted
* contrib/sddmy/tests/test1.prg
* contrib/xhb/tcgi.prg
* contrib/xhb/thtm.prg
* tests/brwpos.prg
* formatting
* contrib/hbmisc/hb_f.c
+ added MT compatibility by moving static vars to a structure
and that structure to TSD
! converted two global buffers to local ones, plus fixed some
wrong code around that
; QUESTION: This is duplicate and dumbed down code from HBNF.
What is the point of having it maintained, when one can just
use the ones in HBNF?
* contrib/hbmisc/calldll.prg
! added mutex protection around STATIC usage
* contrib/hbmisc/numtxtru.prg
! sc_ prefix added to STATIC variable names
* contrib/hbmisc/hbedit.prg
! STATIC converted to THREAD STATIC
* unused constant deleted
* contrib/hbmisc/spd.c
* contrib/hbmisc/dates2.c
% static string set to const and renamed
* contrib/hbnf/fttext.c
* minors
+ contrib/hbnf/tests/fttext.prg
+ added test code for FTTEXT API
* contrib/hbnf/fttext.c
+ added MT compatibility by moving static vars to a structure
and that structure to TSD
* contrib/hbnf/menutonf.prg
* use HB_KEYPUT() instead of FT_PUTKEY()
* extras/gtwvw/tests/cbtest1.prg
* extras/gtwvw/tests/cbtest6.prg
* extras/gtwvw/tests/inpfocus.prg
* extras/gtwvw/tests/wvwmouse.prg
* KEYBOARD/__KEYBOARD() -> hb_keyPut()
* extras/gtwvw/tests/inpfocus.prg
! Do not use K_* constants for characters.
* contrib/gtwvg/tests/demowvg.prg
* extras/gtwvw/tests/wvwtest9.prg
* minor code cleanup
* contrib/gtwvg/class.prg
* contrib/gtwvg/menubar.prg
* contrib/gtwvg/paint.prg
* contrib/hbct/fcopy.prg
* contrib/hbcups/tests/test.prg
* contrib/hbcurl/tests/ftp_uldl.prg
* contrib/hbmisc/hb_f.c
* contrib/hbmisc/tests/testhbf.prg
* contrib/hbmysql/utils/dbf2mysq.prg
* contrib/hbnf/amedian.prg
* contrib/hbnf/tests/dfile.prg
* contrib/hbpgsql/tests/dbf2pg.prg
* contrib/hbpgsql/tests/test.prg
* contrib/hbtip/tests/upld_ftp.prg
* contrib/hbwin/tests/testcopy.prg
* contrib/hbwin/tests/testmapi.prg
* contrib/xhb/tests/testcp.prg
* contrib/xhb/xhbtedit.prg
* tests/ac_test.prg
* tests/db_brows.prg
* tests/stripem.prg
* tests/testhtml.prg
* deleted references to self-filename, or replaced them
with __FILE__, so they will continue to work (and there
won't be outdated comments) when files are renamed.
* tests/sbartest.prg
* minor
* contrib/hbnf/dispc.c
! static vars moved to a structure and that structure
moved to TSD so it's now MT compatible.
* contrib/hbnf/datecnfg.prg
% FT_DATECNFG() do not set _SET_DATEFORMAT internally
* contrib/hbnf/pegs.prg
+ doesn't use THREAD STATIC anymore, but reentrant code
* contrib/hbnf/savearr.prg
+ do not use PRIVATE var.
* TOFIX added. This code only works with CENTURY OFF
and the on-disk format is dependent on _SET_DATEFORMAT.
* contrib/hbnf/woy.prg
% FT_WOY()/FT_DOY(): optimized out legacy hacks dealing
with century handling and CTOD() usage.
* contrib/hbnf/year.prg
* avoided one internal CTOD() call.
% do not set _SET_DATEFORMAT internally
* contrib/hbnf/dfile.prg
* use fileio.ch constant
* contrib/hbnf/tests/calendar.prg
* contrib/hbnf/tests/datecnfg.prg
* contrib/hbnf/tests/menu1.prg
* contrib/hbnf/tests/savearr.prg
* contrib/hbnf/tests/setdate.prg
* contrib/hbnf/tests/tbwhile.prg
* contrib/hbnf/tests/wda.prg
* contrib/hbnf/tests/workdays.prg
* contrib/hbnf/tests/woy.prg
! avoid using CTOD() (use date type and STOD() instead)
+ SET CENTURY ON where dates are displayed
+ hb_langSelect( "EN" ) where output has language
dependent strings
+ TOFIX added where NF code is incompatible with CENTURY ON (and RTEs)
+ use LOCAL instead of MEMVAR
* contrib/gtwvg/hbgtwvg.ch
* include/hbgtinfo.ch
* Marked deprecated and unused HB_GTE_* constants with
HB_LEGACY_LEVEL4. INCOMPATIBLE. Use locally defined
constants for these or HB_K_* constants from inkey.ch
or hbgtwvg.ch if you use contrib/GTWVG.
* contrib/hbnf/doc/en/acctadj.txt
* contrib/hbnf/doc/en/acctmnth.txt
* contrib/hbnf/doc/en/acctqtr.txt
* contrib/hbnf/doc/en/acctweek.txt
* contrib/hbnf/doc/en/acctyear.txt
* contrib/hbnf/doc/en/dayofyr.txt
* contrib/hbnf/doc/en/daytobow.txt
* contrib/hbnf/doc/en/elapsed.txt
* contrib/hbnf/doc/en/firstday.txt
* contrib/hbnf/doc/en/lastday.txt
* contrib/hbnf/doc/en/madd.txt
* contrib/hbnf/doc/en/month.txt
* contrib/hbnf/doc/en/qtr.txt
* contrib/hbnf/doc/en/savearr.txt
* contrib/hbnf/doc/en/setdate.txt
* contrib/hbnf/doc/en/stod.txt
* contrib/hbnf/doc/en/wda.txt
* contrib/hbnf/doc/en/week.txt
* contrib/hbnf/doc/en/workdays.txt
* contrib/hbnf/doc/en/woy.txt
* contrib/hbnf/doc/en/year.txt
! use STOD() instead of setting dependent (and not Y2K compatible)
CTOD()
* contrib/hbnetio/tests/netiot03.prg
* use Asc( "A" ) instead of 65. (still lot more to do
for EBCDIC compatibility, though)
* src/rtl/memoedit.prg
! do not use K_TAB for tab character
* tests/gtchars.prg
* minor change to make it work better when run as script
* tests/vidtest.prg
* minor formatting
* contrib/gtwvg/class.prg
* changed GET to Get():New()
% minor optimization to GET handling
; Check me I'm unsure how to test this part
* contrib/hbnf/pegs.prg
* changed GETs to Get():New()
! replaced GetList memvar with a LOCAL
; TOFIX?: It seems to offer wrong move suggestions in some cases
+ contrib/hbnf/tests/pegs.prg
+ added test app for FT_PEGS()
* contrib/hbnf/tests/menu1.prg
! fixed to use RETURN (not QUIT) at the end of Main()
* tests/setkeys.prg
! unicode keyboard handling fixes
* use ?/?? instead of [Q]QOUT()
* utils/hbmk2/hbmk2.prg
% minor GetList related optimization in shell prompt
* contrib/gtwvg/tests/demowvg.prg
+ SET CENTURY ON
* src/rtl/setfunc.prg
* src/rtl/tlabel.prg
* tested new hbformat.
* more manual corrections. (actually it seems as if
hbformat silently stopped doing any reformatting
past around line 150 in tlabel.prg)
* src/rtl/tlabel.prg
* cleaned to use DISP*()/SETPOS() functions instead
of @ commands (DEV*() functions). The code already
use f.e HB_SCROLL() and INKEY().
* utils/hbmk2/hbmk2.prg
! fixed to recognize built-in .hbm files even if a dir
was present in the name (f.e. when referencing a
built-in .hbm from another referenced .hbm)
* contrib/hbnf/menu1.prg
* contrib/hbnf/popadder.prg
! FT_Adder() fixed to use proper drawing chars for single boxes
% changed to use codeblock as achoice() use func
% optimized out one THREAD STATIC var in FT_Adder()
* contrib/hbnf/aredit.prg
* contrib/hbnf/blink.prg
* contrib/hbnf/calendar.prg
* contrib/hbnf/clrsel.prg
* contrib/hbnf/dispmsg.prg
* contrib/hbnf/menu1.prg
* contrib/hbnf/nwsem.prg
* contrib/hbnf/pegs.prg
* contrib/hbnf/pending.prg
* contrib/hbnf/popadder.prg
* contrib/hbnf/xbox.prg
* Changed @ commands (except GETs and PROMPTs) to
hb_Disp*() counterparts. It may introduce small
incompatibilities, maybe even some regressions,
where cursor positioning was relying on old
functions. Pls report if you've found or seen
something.
* contrib/gtwvg/class.prg
* contrib/gtwvg/tests/demowvg.prg
* contrib/gtwvg/tests/demowvg1.prg
* contrib/gtwvg/tests/modal.prg
* contrib/gtwvg/tests/tbrowser.prg
* contrib/gtwvg/tests/utils.prg
* contrib/hbmisc/hbedit.prg
* contrib/hbnetio/utils/hbnetio/netiocon.prg
* contrib/hbnf/popadder.prg
* contrib/xhb/ttable.prg
* contrib/xhb/xhbtedit.prg
* extras/gtwvw/tests/maincoor.prg
* extras/gtwvw/tests/prog0.prg
* extras/gtwvw/tests/prog1.prg
* extras/gtwvw/tests/prog2.prg
* src/debug/dbghelp.prg
* src/debug/dbgtwin.prg
* src/debug/debugger.prg
* tests/db_brows.prg
* tests/testprof.prg
* DispOut*() -> hb_DispOut*()
* DispBox*() -> hb_DispBox*()
* Scroll()/CLEAR TO -> hb_Scroll()
; For being MT-friendly and more efficient/flicker-free
in general
; Please review if I had missed some places where
the legacy API usage was actually intentional to
position the cursor. (f.e. some places in gtwvg)
* tests/gtstdtst.prg
* minor
* src/rdd/usrrdd/rdds/arrayrdd.prg
! fixed negative index on array
+ contrib/xhb/tests/decode.prg
* contrib/xhb/decode.prg
* moved test code to separate file
! fixed test code to run
% optimized an internal function
* contrib/hbgd/gdbarcod.prg
* use local constant instead of literals
* contrib/xhb/cstruct.prg
* formatting
* contrib/hbhttpd/core.prg
* contrib/hbhttpd/widgets.prg
* contrib/hbpgsql/tests/cache.prg
* extras/hbxlsxml/xlsxml_s.prg
* extras/hbxlsxml/xlsxml_y.prg
* extras/hbxlsxml/xlsxml.prg
* extras/httpsrv/cgifunc.prg
* extras/httpsrv/cookie.prg
* extras/httpsrv/session.prg
* extras/httpsrv/uhttpd.prg
* src/rtl/dirscan.prg
% LTRIM(STR(x,y)) converted to hb_ntos() where y had
no significance or just limited the width unnecessarily
% ValType() usage converted to HB_IS*() or optimized
by rearragement of code or using SWITCH/CASE
* contrib/hbgd/gdbarcod.prg
% AllTrim() removed from around Str( n, 1 )
* TOFIX? added to gdbarcod.prg in one place where
Str( n, 1 ) is used and the value can be 10.
; Francesco, can you look at it?
* contrib/gtwvg/tests/dyndlgs.prg
* extras/hbxlsxml/tests/example.prg
* tests/ac_test.prg
* tests/aliaslck.prg
* tests/gtstdtst.prg
* tests/rto_get.prg
* tests/rto_tb.prg
* tests/teststr.prg
* *LTRIM(STR()) -> hb_ntos()
including cases where a size limit was used, but
it was unnecessary.
#define added for Clipper where needed.
* contrib/hbnf/ntow.prg
% LTrim( Str( n, 0 ) ) -> hb_ntos()
zero is currected to 10 by runtime.
Plus minor opt.
* contrib/hbnf/acctmnth.prg
* contrib/hbnf/acctqtr.prg
* contrib/hbnf/acctweek.prg
* contrib/hbnf/dayofyr.prg
* contrib/hbnf/month.prg
* contrib/hbnf/qtr.prg
* contrib/hbnf/week.prg
% PAD(*TRIM(STR()),,"0") -> StrZero()
* extras/hbxlsxml/xlsxml_s.prg
* extras/hbxlsxml/xlsxml_y.prg
* extras/hbxlsxml/xlsxml.prg
* website/samples/dates3.prg.html
* website/samples/dates4.prg.html
* website/samples/testcgi.prg.html
* website/samples/testhtml.prg.html
* hb_osnewline() -> hb_eol()
* harbour/src/common/hbprintf.c
+ added HB_NO_MODFL compile time macro.
It can be used on some old systems which do not have modfl() function.
In such case it's enough to set HB_USER_CFLAGS=-DHB_NO_MODFL
* utils/hbmk2/hbmk2.prg
! fixed handling of -ku:<cp> option. Now hbmk2 will pass
-ku to Harbour compiler, which seems to help, but I
still can't see any effect of the <cp> passed, so still
unsure if this is the way to go.
See original commit here: 2012-04-23 20:31 UTC+0200
* harbour/src/rtl/gtwvt/gtwvt.h
* harbour/src/rtl/gtwvt/gtwvt.c
! fixed some HB_GTI_* actions which could access pWVT->hWnd before
console window in created.
! fixed reverted parameters passed in array to HB_GTI_SETPOS_ROWCOL
! removed hb_retl() used inside HB_GTI_SETPOS_XY, HB_GTI_SETPOS_ROWCOL
actions.
! respect HB_GTI_SETPOS_XY, HB_GTI_SETPOS_ROWCOL set before
console window in created.
* harbour/src/rtl/gtxwc/gtxwc.c
! set fullscreen mode if user sets:
hb_gtInfo( HB_GTI_ISFULLSCREEN, .t. )
hb_gtInfo( HB_GTI_RESIZABLE, .t. )
at application startup before console window in created.
+ added support for HB_GTI_SETPOS_XY, HB_GTI_SETPOS_ROWCOL
* extras/hbxlsxml/xlsxml.prg
* extras/hbxlsxml/xlsxml_s.prg
! fixed long time broken charcodes in "OEM" to HTML conversion
and accent stripping funcion.
! fixed "OEM" conversion and accent striping function to
work with any HVM CP, even unicode
* Chr( 141 ) removed from accent striping. Maybe it was meant
as SOFTCR char, anyways, it was stripped to an empty char,
not a non-accented one.
- deleted AnsiToHtml() function (it did nothing)
* renamed OEMTOHTML()/OEMTOHTMLESPECIAL() to STRTOHTML()/STRTOHTMLESPECIAL()
* contrib/hbtip/thtml.prg
! minor fix in recently added StrToHTML() function to
work well when HVM CP is dynamically changing at runtime
* contrib/hbamf/tests/tstendin.prg
! fixed infinite loop after one recent change
! fixed to not redefine ? operator, making it ambiguous.
use unused command name instead
! fixed one test value, which actually needs to be in UTF-8
to give proper results.
+ added #require so it now works as script
* contrib/hbamf/hbamfobj.prg
* contrib/hbhttpd/widgets.prg
* contrib/hbnf/linked.prg
* contrib/xhb/xhbtedit.prg
* extras/gtwvw/tests/ebtest7.prg
! do not use = operator