* utils/hbmk2/hbmk2.prg
+ added tricky feature which attempts to autodetect whether
a script is meant to be run on an interactive CUI as
opposed to the default command line (CLI, aka GTCGI) mode.
It makes it possible to keep cmdline oriented scripts
running using GTCGI, while full-screen apps are run
using GTWIN and friends without code changes. F.e.
/tests apps can be run this way easily.
; scripts can force to use CLI by using:
'REQUEST HB_GT_CGI_DEFAULT'
; scripts can switch to CUI mode explicitly by running
this code:
#ifdef __HBSCRIPT__HBSHELL
hbshell_gtInteractive()
#endif
Experimental, might change to something more elegant.
* tests/db_brows.prg
! fixed CUI for unicode and readded CUI drawing elements
* tests/sbartest.prg
* comment deleted
* contrib/hbmisc/hbedit.prg
* src/debug/dbghelp.prg
* src/debug/dbgtmenu.prg
* src/debug/dbgtwin.prg
* src/debug/dbgwa.prg
* src/rtl/browse.prg
* src/rtl/listbox.prg
* src/rtl/radiogrp.prg
* src/rtl/tmenuitm.prg
* src/rtl/tpopup.prg
* tests/gtwin.prg
* tests/box.prg
* tests/boxtst2.prg
* tests/scroll.prg
* tests/vidtest.prg
! fixed to use new unicode-compatible box.ch/button.ch macros
For standalone programs (in tests) in only makes any difference
when running them as scripts, now they will work (after
adding hbshell_gtInteracive() call at startup), while
before the drawing chars were scrambled.
* src/rtl/browse.prg
* src/rtl/checkbox.prg
* src/rtl/dbedit.prg
* src/rtl/dbedit.prg
* src/rtl/listbox.prg
* src/rtl/scrollbr.prg
* src/rtl/tmenuitm.prg
! fixed Chr() calls for drawing chars to unicode strings
to be compatible with both unicode and non-unicode (and
any BOXCP) mode.
* src/rtl/browse.prg
! fixed to use '!( hb_keyChar( nKey ) == "" )' instead
of looking for keycode between 32 and 255 (inclusive)
making it unicode compatible
* formatting
* src/rtl/tpersist.prg
* src/rtl/memoedit.prg
* src/debug/debugger.prg
* src/debug/dbgthsh.prg
* src/debug/dbgtarr.prg
* src/debug/tbrwtext.prg
* formatting
* src/rtl/tmenuitm.prg
* src/rtl/tpopup.prg
+ added TOFIXes where drawing chars are used as internal
flags. This may cause problems if switching CPs while
using these objects.
* tests/sbartest.prg
+ unicode compatibility while keeping it Cl*pper compatible
! fixed RTE due to using wrong SCROLLBAR method
* tests/tb1.prg
* changed to use new unicode-compatible box.ch/button.ch macros
while keeping Cl*pper compatibility
* tests/vidtest.prg
! fixed remaining drawing chars using Chr() (Cl*pper
compatibility maintained)
* tests/testsha2.prg
* tests/utf8at.prg
! fixed to use HB_BCHAR() instead of CHR() for unicode compatibility.
; NOTE: After above changes scripts and commands run via hbrun
will display drawing chars properly. Unicode apps as
well, even with BOXCP set to unicode, too.
; TODO: Fix above things also on C level, f.e. DISPBOX() with
numeric box drawing request.
* harbour/src/pp/ppcore.c
! fixed possible GPF when some broken expressions are used as
part of extended expression match marker
* harbour/src/rtl/padr.c
* harbour/src/rtl/padc.c
* harbour/src/rtl/padl.c
! fixed PADR(), PADL() and PADC() to accept pad mulibyte characters
when CPs with such encoding is used, i.e. CP950 or UTF8EX
* harbour/contrib/xhb/xhb.hbx
* updated to follow recent modifications
* include/box.ch
* include/button.ch
+ added Unicode compatible macros for drawing strings
* contrib/hbmisc/hbedit.prg
* contrib/hbmisc/stringp.prg
* contrib/hbmisc/twirler.prg
* contrib/hbmisc/hbmisc.hbx
* formatted using hbformat and manually
* DEFAULT() made STATIC. It was colliding with xhb
after latest changes. INCOMPATIBLE. Use HB_DEFAULT()
instead.
! DEFAULT() fixed using != on strings
* include/harbour.hbx
* src/rtl/Makefile
+ src/rtl/cdpbox.prg
+ added HB_UTF8TOSTRBOX( <cUTF8String> ) -> <cStringEncodedIn_GT_BOXCP>
It's needed because HB_UTF8TOSTR() will convert to main CP,
but box drawing CP can be setup differently with HB_GTI_BOXCP,
that function call will take that into account.
* contrib/hbnf/aredit.prg
* contrib/hbnf/clrsel.prg
* contrib/hbnf/dispmsg.prg
* contrib/hbnf/menu1.prg
* contrib/hbnf/pegs.prg
* contrib/hbnf/pickday.prg
* contrib/hbnf/popadder.prg
* contrib/hbnf/tbwhile.prg
* contrib/hbnf/vertmenu.prg
* tests/db_brows.prg
* tests/gtchars.prg
* tests/testbrw.prg
* extras/gtwvw/tests/prog0.prg
* extras/gtwvw/tests/prog1.prg
* extras/gtwvw/tests/prog2.prg
! fixed drawing chars to display properly regardless of HB_GTI_BOXCP
setting.
! some related minor fixes
* tests/tb1.prg
! fixed to compile and build using Clipper after recent
UTF8 compatibility updates (not tested though)
; TOFIX: Pad*() function handle 3rd parameter as binary string,
so it doesn't work properly in UTF8 mode.
* src/lang/sk.c
+ updated Slovak language module.
Patch by Jaroslav Janík. Many thanks.
* contrib/hbnf/calendar.prg
* contrib/hbnf/pegs.prg
* tests/ac_test.prg
* minor formatting.
* contrib/hbpost.hbm
* contrib/make.hb
* INSTALL
+ implemented 'install' option when building contribs
in standalone mode (aka when doing a partial [re]build).
Experimental, very lightly tested and the recommended
way remains to _avoid_ 'install' in all situations
and to use .hbc files to use packages.
+ contrib/hbnf/hbmk.hbm
+ added .hbm for to make it easy to build embedded test
code protected by FT_TEST macro
(note most/some test code will fail in -w3 mode)
* contrib/hbnf/nwuid.prg
* contrib/hbnf/tempfile.prg
* minor in comment
* contrib/hbnf/pchr.prg
* use string literals instead of Chr() call
* minor formatting
* contrib/hbnf/dispmsg.prg
! fixed test code to compile in -w3 mode
! fixed key handling for unicode (including one
regression from recent days)
* formatted // comments
* contrib/hbnf/aredit.prg
* use Asc() instead of using hardwired char codes
* contrib/hbnf/clrsel.prg
! fixed test code to compile in -w3 mode
! replaced Chr() calls for CP437 chars to unicode strings
* formatted // comments
* contrib/hbnf/woy.prg
* use Tone() instead of Chr( 7 )
* utils/hbmk2/hbmk2.prg
+ hbshell_gtInteractive() to set hb_SetTermCP()
! for pure unicode mode, set HB_GTI_BOXCP to UTF8EX
(note this will cause problems with current default
box drawing chars used in RTL)
* utils/hbmk2/examples/plug_bis.hb
% minor cleanup
- contrib/hbnetio/utils/hbnetioq
- deleted (find it here or from repo history: http://sourceforge.net/projects/hbqt/)
* utils/hbmk2/examples/contribf.hbc
* updated
* contrib/hbmxml/3rd/minixml/config.h
! deleted macro redefinition to silence MSVC warning
! fixed built-time error with some missing internal helper
functions in C++ mode (f.e. MSVC)
Thanks to Ronaldo M++ for report.
+ contrib/hbexpat/tests/test.xml
* contrib/hbexpat/tests/test.prg
* contrib/hbexpat/tests/tohash.prg
+ added local test xml file for expat test functions
* contrib/rddads/rddads.h
! fixed version detection for ADS 6.00 and 6.10/6.11
Thanks to jb for providing the header file.
* contrib/rddads/ads1.c
! fixed for ADS 6.00
* contrib/rddads/adsfunc.c
! fixed for ADS older than 6.00
* contrib/gtwvg/combobox.prg
* contrib/gtwvg/listbox.prg
* contrib/gtwvg/pushbut.prg
* contrib/gtwvg/statbar.prg
* contrib/gtwvg/static.prg
* contrib/gtwvg/tabpage.prg
* contrib/gtwvg/toolbar.prg
* contrib/gtwvg/treeview.prg
! deleted (most possibly copyright protected) MSDN documentation
copied to the end of source files from MS website.
Visit this link to find the same information online:
http://msdn.microsoft.com/en-us/library/windows/desktop/bb773169(v=vs.85).aspx
* harbour/contrib/xhb/hbcompat.ch
* harbour/contrib/xhb/xhbinet.c
! fixed typo in function name should be INETISSOCKET()
instead of ISINETSOCKET()
* harbour/contrib/xhb/xhbinkey.prg
! fixed typo in SetInkeyBeforeBlock() function name
* harbour/contrib/xhb/xhbfs.c
+ added new function ISDIR()
* harbour/contrib/xhb/xhbfunc.c
+ added new functions:
HB_HASHID(), HB_LIBDO(), HB_BITTEST(), DEFAULT()
* harbour/contrib/xhb/xhb.hbx
* updated
* contrib/hbnf/*
% deleted original filename embedded in headers
% deleted commented ASM code (all these have been long
rewritten in C)
* minor formatting
* utils/hbmk2/hbmk2.prg
! add -static option for win-wce/mingw* platforms
when -fullstatic hbmk2 option is used. (in sync
with rest of platform). Reported by Przemek.
Please checkme!
* contrib/hbnf/datecnfg.prg
* contrib/hbnf/dfile.prg
* contrib/hbnf/dispmsg.prg
* contrib/hbnf/menu1.prg
* contrib/hbnf/menutonf.prg
* contrib/hbnf/nwsem.prg
* contrib/hbnf/nwuid.prg
* contrib/hbnf/scancode.prg
* contrib/hbnf/scregion.prg
* contrib/hbnf/sinkey.prg
* contrib/hbnf/sqzn.prg
* contrib/hbnf/tempfile.prg
+ more unicode compatibility updates.
; regressions possible, please review & test
* minor formatting along the way
* contrib/hbnf/dispc.c
% globally visible variables made static.
This introduces a slight incompatibility in case
some C code tried to access these, though there was
never a header for it, ie. they were never
documented variables.
* contrib/hbnf/dosver.prg
* contrib/hbnf/eltime.prg
* contrib/hbnf/floptst.prg
* contrib/hbnf/miltime.prg
* contrib/hbnf/min2dhm.prg
* contrib/hbnf/mouse1.prg
* contrib/hbnf/mouse2.prg
* contrib/hbnf/nwsem.prg
* contrib/hbnf/popadder.prg
% use hb_ntos(). (lots of them can be further reduced to StrZero())
% minors