* extras/hbdroid/msginfo.c
! fixed to pass strings to Java in UTF-8
! additional NULL checks to avoid GPFs
; Anybody remembers how to run/try this thing?
* extras/gfspell/spell.prg
* extras/gfspell/spellc.c
* unicode, 64-bit and various other minor cleanups,
though this thing just doesn't work at all.
XUNFORM() seems to be buggy, maybe it pulls the
whole thing down. I'm giving up. I will delete this
library if it stays unusable.
* extras/gfspell/spell.prg
% deleted commented full screen debug trace lines
% deleted not operational REDUCE_MEMORY_NEEDS built-time
option. It was dead code that didn't even compile and
caused RTE when fixed
* other formatting
* extras/gfspell/spellc.c
! fixed memory corruption in SP_RATE()
* extras/gfspell/words.dbf
! deleted two wrong records that cause DBF2DIC() to
not work.
* extras/gfspell/spell.prg
* minor
* extras/gfspell/spellc.c
+ legacy Clipper API constructs upgraded to Harbour ones
+ upgraded to use Harbour string sizes
+ other minor code cleanups
% public vars converted to static and const
* extras/gfspell/spell.prg
* renamed STATIC vars
! fixed some STATIC vars for MT mode
! few more unicode fixes
* code cleanups
* extras/gfspell/spellc.c
+ legacy Clipper API constructs upgraded to Harbour ones
+ upgraded to use Harbour string sizes
+ other minor code cleanups
% public vars converted to static and const
* extras/gfspell/spell.prg
* minor
- contrib/hbdroid
+ extras/hbdroid
+ extras/hbdroid/hbdroid.hbx
* extras/hbdroid/hbdroid.hbc
* moved hbdroid to 'extras'
+ added .hbx file
* adapted build files to 'extras' environment.
; Now can be built as dynamic lib
* contrib/hbdroid/hbdroid.hbp
* minor cleanup
* contrib/rddbm/rddbm.hbp
! missed to add .hbx as source
* contrib/rddsql/tests/arrayrdd.prg
+ fixed to work when run as script.
(Could not achieve the same with SDD tests.)
* utils/hbmk2/hbmk2.prg
+ added very experimental support for using macros
in source filenames. The search for options and
special extensions will be done before macro
expansion, ie. if it doesn't match any options or
special extensions, it will be considered a
source a file and then expanded. Useful f.e. for
'${hb_name}.hbx', but plain '${ENVVAR}' will also
be considered a source filename. Can be abused, too,
but not recommended.
* contrib/rddbm/rddbm.hbp
* extras/gtwvw/gtwvw.hbp
* extras/hbvpdf/hbvpdf.hbp
* extras/hbxlsxml/hbxlsxml.hbp
* extras/ps32/ps32.hbp
* extras/rddado/rddado.hbp
* extras/superlib/superlib.hbp
+ unified the common build parameters, so
now all supports dynamic libs, installation
and .hbx files
+ contrib/rddbm/rddbm.hbx
+ extras/rddado/rddado.hbx
+ added two new .hbx files
* utils/hbmk2/hbmk2.prg
! fixed to automatically create target directory
for import library, if any.
* extras/hbusb/hbusb.hbp
* making options more uniform
; TODO: apply these to other 'extras' libs
* extras/gfspell/spellc.c
! fixed compilation errors in spellc.c.
! fixed non-ANSI C comments.
! fixed warnings.
* removed excessive parenthesis
+ extras/gfspell/gfspell.hbx
* extras/gfspell/gfspell.hbp
+ added .hbx file
+ added option to build dynamic lib
* extras/gfspell/spell.ch
* extras/gfspell/spell.prg
! fixed to use lower-case filenames
! fixed '=' operators
! fixed BIT() calls to have the 1st param passed by ref
! fixed some formatting errors left by hbformat (notably: "{|xx|")
! disabled permanently enabled debug screen messages
! fixed to not leave temporary index on disk
+ some changes to make code more unicode compatible (incomplete)
* Use F_ERROR
* hbformatted using new .hbx
% use hb_FileExists()
; NOTE: Strangely all this is not enough to make this
work, because crucial files are missing from this packages,
f.e. dict.dic and thes.dic. Anybody has these?
* extras/gfspell/words.dbf
! fixed field name to be WORD (not W_ORD). I'm not even
sure how this can go wrong, byt anyways.
* contrib/hbnf/menuto.prg
* minor
+ extras/gtwvw/wvt2wvw.ch
- extras/gtwvw/tests/wvt2wvw.ch
* extras/gtwvw/tests/readme.txt
* cased function names, misc cleanups, moved
to main project dir
* contrib/hbgs/core.c
* contrib/hbwin/wapi_wingdi.c
* contrib/hbwin/win_com.c
* minor uncrustify fixes
* extras/gtwvw/gtwvw.hbx
* cased all function names
* extras/gtwvw/wvwdraw.c
* extras/gtwvw/wvwedit.c
* extras/gtwvw/wvwfuncs.c
* cleanups
* extras/gtwvw/wvwfuncs.c
! fixed a few GPFs. There are so plenty of
them and other sloppy code that it's
an impossible task.
* extras/gtwvw/tests/hbmk.hbm
* set warning level to -w3
* extras/gtwvw/tests/_wvwmous.prg
* extras/gtwvw/tests/cbtest1.prg
* extras/gtwvw/tests/cbtest6.prg
* extras/gtwvw/tests/drawimg.prg
* extras/gtwvw/tests/ebtest7.prg
* extras/gtwvw/tests/inpfocus.prg
* extras/gtwvw/tests/maincoor.prg
* extras/gtwvw/tests/maximize.prg
* extras/gtwvw/tests/prog0.prg
* extras/gtwvw/tests/prog1.prg
* extras/gtwvw/tests/prog2.prg
* extras/gtwvw/tests/wvwtest9.prg
! fixed one doubly defined function after
recent change
! fixed all -w3 warnings
! enabled GTWVW specific code where it
was conditionally enabled.
! hbformat formattings and related fixes
; Strangely all samples work relatively
okay in script mode, but when built as
exe they all crash badly.
* extras/hbdoc/hbdoc.hbp
+ use $hb_pkg_install.hbm
* utils/hbmk2/pkg_inst.hbm
+ install executables into Harbour bin dir, but
commented with NOTE because hbdoc works only when
put in its current directory location.
* config/global.mk
+ enabled HB_BUILD_CONTRIB_DYN=yes when creating an
install package using HB_BUILD_PKG=yes.
Very experimental, let's see what happens in the
nightly. If it works out well, it can be enabled
by default on all win/mingw build, then on all
win builds, then on all builds.
* contrib/hbwin/hbwin.ch
* formatted function names in comments
+ added RPC_S_* values, plus HB_RPC_S_ERROR which is
Harbour specific
* contrib/hbwin/tests/testrpc.prg
+ display RPC status code
* contrib/hbwin/win_rpc.c
+ return RPC status of UuidCreate() call in first
reference parameter of WIN_UUIDCREATESTRING:
WIN_UUIDCREATESTRING( [@<nStatus>] ) -> <cString>
* ChangeLog
! added missing incompatibility tag to the change which
made SAVESCREEN() buffers not Clipper compatible in
default mode.
I think we should change the default back to be
compatible. Opinions?
* bin/harbour.ucf
+ enabled some options to delete unwanted newlines
in a few places.
+ enabled to remove double semicolons
* added default pp formatting option for future mods
* extras/gtwvw/gtwvwd.c
* extras/gtwvw/wvwcheck.c
* extras/gtwvw/wvwdraw.c
* extras/gtwvw/wvwedit.c
* extras/gtwvw/wvwfuncs.c
* extras/gtwvw/wvwmenu.c
* extras/gtwvw/wvwpush.c
* extras/gtwvw/wvwstbar.c
* extras/gtwvw/wvwtbar.c
! uncrustified more agressively by using these extra options:
mod_full_brace_for = remove
mod_full_brace_if = remove
mod_full_brace_while= remove
! some commented code converted to #if 0/#endif blocks
! one code line changed to avoid uncrustify bug
* extras/gtwvw/tests/drawimg.prg
! avoided GPF caused by WVW function when GT is not
yet initialized. This should ideally be fixed in the
GT itself.
* extras/gtwvw/tests/inpfocus.prg
! fixed lines broken by an older version of hbformat
* extras/gtwvw/hbole.h
! deleted non-ANSI C comments
* extras/hbxlsxml/tests/example.prg
* extras/hbxlsxml/tests/example2.prg
* extras/hbxlsxml/tests/example3.prg
* extras/hbxlsxml/xlsxml_s.prg
* extras/hbxlsxml/xlsxml_y.prg
* extras/hbxlsxml/xlsxml.prg
+ various cleanups, optimizations, one minor fix,
improved bad parameter type handling
+ output to contain much less empty space in tags
* tests/foreach.prg
* tests/menutest.prg
* cleanups ('=' operator still, hb_ntos())
* contrib/hbpre.hbm
* contrib/make.hb
* avoid one internal make.hb macro completely. This comes
with a 7 chars longer command line which might be a
problem on MS-DOS systems, but .dlls are not typical
there and projects with many dependencies will be
long anyway.
+ utils/hbmk2/pkg_dynl.hbm
* utils/hbmk2/hbmk2.prg
+ added built-in package $hb_pkg_dynlib.hbm which adds
hbmk2 options needed to build standard dynamic libs out
of lib projects the same way contribs are built when
using HB_BUILD_CONTRIB_DYN=yes.
* utils/hbmk2/pkg_inst.hbm
! fixed to place target dynamic libs to main project
directory, so they can be used right away
* extras/hbvpdf/hbvpdf.hbp
- extras/hbvpdf/hbvpdf.prg
+ extras/hbvpdf/core.prg
- extras/hbvpdf/hbvpsup.prg
+ extras/hbvpdf/fonts.prg
* renamed source to not collide with .hbx file
* renamed other source to simpler name
* fonts.prg hbformatted
* extras/gtwvw/gtwvw.hbp
* extras/hbusb/hbusb.hbp
* extras/hbvpdf/hbvpdf.hbp
* extras/hbxlsxml/hbxlsxml.hbp
+ added $hb_pkg_dynlib.hbm built-in build rules,
so now these can be built as dynamic libs using
command:
'hbmk2 -hbdyn <name>.hbp'
* extras/gtwvw/gtwvwd.c
! fixed wrong startup code causing GPF when
used as hbrun script.
* extras/hbusb/tests/test.prg
* extras/hbvpdf/tests/pdf_demo.prg
* extras/hbxlsxml/tests/example.prg
* extras/hbxlsxml/tests/example2.prg
* extras/hbxlsxml/tests/example3.prg
+ added #require directives to make
them run as scripts.
* extras/gtwvw/tests/cbtest1.prg
* extras/gtwvw/tests/cbtest6.prg
* extras/gtwvw/tests/drawimg.prg
* extras/gtwvw/tests/ebtest7.prg
* extras/gtwvw/tests/inpfocus.prg
* extras/gtwvw/tests/maincoor.prg
* extras/gtwvw/tests/maximize.prg
* extras/gtwvw/tests/prog0.prg
* extras/gtwvw/tests/prog1.prg
* extras/gtwvw/tests/prog2.prg
* extras/gtwvw/tests/wvwtest9.hbp
* extras/gtwvw/tests/wvwtest9.prg
- extras/gtwvw/tests/wvwmouse.prg
+ extras/gtwvw/tests/_wvwmous.prg
+ added #require directives and dynamic switching
to GTWVW GT to make them run as scripts.
* renamed one internal .prg to start with an
underscore
* changed the way _wvwmous.prg is added to the
main project source to make it run as
script (though the .rc file won't be available
in this case)
* extras/hbxlsxml/tests/example.prg
! fixed typo in a recent manual cleanup update
; After this, 3rd party addons can easily use this
facility to build and used as dynamic libs, making
it possible to use them from scripts.
; NOTE: I didn't check if these dynamic libs can be
linked statically to dependent projects. Left
for the future.
; TODO: - clean contrib/hbpost.hbm to be more in
sync with utils/hbmk2/pkg_dynl.hbm
- inspect if _HB_DYNSUFF can be avoided in
contrib .hbc files
- contrib/gtwvg/tests/activex.prg
- contrib/gtwvg/tests/cuigdlgs.prg
- contrib/gtwvg/tests/dyndlgs.prg
- contrib/gtwvg/tests/modal.prg
- contrib/gtwvg/tests/tbrowser.prg
- contrib/gtwvg/tests/utils.prg
- contrib/gtwvg/tests/wvtcls.prg
- contrib/gtwvg/tests/xbp.prg
+ contrib/gtwvg/tests/_activex.prg
+ contrib/gtwvg/tests/_cuigdlg.prg
+ contrib/gtwvg/tests/_dyndlgs.prg
+ contrib/gtwvg/tests/_modal.prg
+ contrib/gtwvg/tests/_tbrowse.prg
+ contrib/gtwvg/tests/_utils.prg
+ contrib/gtwvg/tests/_wvtcls.prg
+ contrib/gtwvg/tests/_xbp.prg
* contrib/gtwvg/tests/demowvg.prg
* renamed internal .prg files to not confuse them
with those that can be run as scripts or built
to exes.
- contrib/gtwvg/gtwvg.c
+ contrib/gtwvg/gtwvgd.c
- contrib/gtwvg/wvggui.h
+ contrib/gtwvg/gtwgu.h
- contrib/gtwvg/wvggui.c
+ contrib/gtwvg/gtwgud.c
* contrib/gtwvg/gtwvg.hbp
* contrib/gtwvg/gtwvg.hbx
! fixed object name collision between compiled gtwvw.hbx
and gtwvw.c driver code.
+ enabled gtwvg build in dynamic (dll) mode.
+ include HB_GT_WBG and HB_GT_WGU in gtwvg.hbx
* renamed WGU driver sources to have a consistent
name with GTWVG.
! fixed GTWVG and GTWVU driver code to not abend
when hb_winMainArg() return false, but fall back
just like GTWVT does.
* contrib/gtwvg/tests/demowvg.prg
* contrib/gtwvg/tests/demowvg1.prg
* contrib/gtwvg/tests/demoxbp.prg
* GT driver request tweaks to make it possible to
run them as scripts.
+ added #require "gtwvg" so that these now work
as hbrun scripts.
* contrib/gtwvg/tests/activex.prg
* contrib/gtwvg/tests/cuigdlgs.prg
* contrib/gtwvg/tests/demowvg.prg
* minor cleanups
* contrib/gtwvg/tests/hbmk.hbm
- contrib/gtwvg/tests/demowvg.hbp
% no longer necessary
* necessary options moved to hbmk.hbm
* contrib/gtwvg/tests/cuigdlgs.prg
! fix to one of prev mods
- extras/gtwvw/gtwvw.c
+ extras/gtwvw/gtwvwd.c
* extras/gtwvw/gtwvw.hbp
! fixed object name collision between compiled gtwvw.hbx
and gtwvw.c driver code.
* contrib/hbnf/tests/metaph.prg
% optimized code
* contrib/gtwvg/crt.prg
* contrib/gtwvg/paint.prg
* contrib/gtwvg/wnd.prg
! few fixes applied from hbformat, plus one manual
mod to keep make one code line hbformat friendly
* contrib/hbssl/*.c
* contrib/xhb/*.c
* manual code cleanup (single {} blocks, commented
code converted to #if 0/#endif, deleted extra empty lines,
made code uncrustify friendly)
* applied all uncrustify fixes, except for
HB_FUNC_[TRANSLATE|EXEC|etc] related code in xhb which it
messes up badly. And some horizontally layed out
lines in hbssl.
* contrib/hbnf/any2any.prg
* contrib/hbnf/d2e.prg
! Fixed wrongly cased local macros after last formatting.
These macro names collided with function names used in
other libs. I gave these macros a unique name to avoid that.
Based on Andi Jahja's patch. Thank you.
* include/*.ch
* formatting (except std.ch)
* contrib/xhb/hbcompat.ch
! minor fix to prev
* include/harbour.hbx
! minor fix
* contrib/gtwvg/hbgtwvg.ch
* contrib/hbblink/hbblink.ch
* contrib/hbcairo/hbcairo.ch
* contrib/hbct/ct.ch
* contrib/hbct/ctdisk.ch
* contrib/hbct/ctvideo.ch
* contrib/hbfimage/freeimag.ch
* contrib/hbmxml/hbmxml.ch
* contrib/hbnf/any2any.prg
* contrib/hbnf/d2e.prg
* contrib/hbtip/thtml.ch
* contrib/hbtip/tip.ch
* contrib/hbxpp/hbxpp.ch
* contrib/hbzebra/hbzebra.ch
* contrib/xhb/hbcompat.ch
* contrib/xhb/hbdll.ch
* contrib/xhb/hblog.ch
* contrib/xhb/ttable.ch
* extras/hbdoc/hbdoc.ch
* extras/hbvpdf/hbvpdf.ch
* utils/hbtest/rt_init.ch
* minor cleanups/formatting
* harbour/src/rtl/rat.c
! fixed HB_RAT() to respect end range in the same way as in HB_AT()
; Warnings: 1) It's not backward compatible and may change the behavior
of some code which expects that ranges are not strictly
respected. If someone uses HB_RAT() with 4-th parameter
then he should check if above modification interacts with
his code. The modification is significant only if 1-st
parameter is longer then 1 character.
2) xHarbour supports in its RAT() function 3-rd and 4-th
parameters but their meaning is reverted then in HB_RAT()
and they do not have any range checking so they are used
in raw form accessing any memory addresses (even out of
process memory area generating GPF in such case).
It means that also above fix is not respected and may
introduce the same incompatibilities in code which tires
to use sth like HB_RAT() with reverted 3-rd and 4-th
parameters to emulate xHarbour RAT().
* harbour/src/rtl/rat.c
% use 4-th parameter of HB_RAT() function instead of creating temporary
substring from 2-nd parameter.
* harbour/contrib/hbtinymt/3rd/tinymt/tinymt.hbx
* regenerated (removed Id header)
* contrib/hbgd/doc/en/hbgd.txt
* contrib/hbgd/gdimage.prg
* cleanups related to no longer needed "destroy" code
* GDImage:Destory() method deprecated with HB_LEGACY_LEVEL4
* harbour/src/rtl/rat.c
! fixed HB_RAT() used with 3-rd and/or 4-th parameter and multibyte CPs
* harbour/contrib/hbct/disk.c
+ enabled NUMDISKL() in OpenWatcom DOS builds
% extract string length in the same STR API call instead of using
additional hb_parclen()
* added real protection for buffer overflow in windows version of
TRUENAME(). I do not know if it's really necessary but without
the code which allocates one byte bigger buffer does not make
any sense.
; TOFIX: this code still uses HB_TCHAR_*() macros