* source/common/hbverdsp.c
* Some cleanups on appearance.
* Company names removed (except CA).
* contrib/rddads/adsmgmnt.c
* Minor formatting.
+ contrib/examples/dbu/hb_dbu.dif
* contrib/examples/dbu/bld_b32.bat
* contrib/examples/dbu/readme.txt
+ Added .dif file with a patch fixing some
multiplatforms issues in original dbu source.
It's a quick hack, I might have missed something,
and I didn't do any testing. Add your own fix,
if you have some.
* DBU_DIR -> HB_DIR_DBU
* make_b32.mak
* contrib/mtpl_b32.mak
* config/w32/bcc32.cf
+ Added following switches for BCC:
-d: merge duplicate strings (was enabled already in GNU make)
-w: enable warnings.
-w-sig-: disable 'Conversion may lose significant digits' warnings.
* make_b32.mak
* make_vc.mak
* make_vcce.mak
+ Added HBDOC_LIBS to specify external libs for HBDOC.
Only for non-GNU B32/VC/VCCE builds! For non-GNU GCC
it's probably LDFLAGS, for GNU it's probably LDLIBS.
NOTE: Use full path for the libs.
Such dependency is anything by good though (the core
build depends on a contrib lib, the contrib lib depends
on the core build), so consider this a temporary solution.
Moving HBDOC to the contrib area is one possibility,
dropping it is another one.
; There is quite a big mess regarding these envvars depending
on the type of make system, platform, compiler, etc,
that it's almost impossible to document or understand, so
maybe it'd be worth a review after the release, and sync
all these external flag and dir envvars.
* utils/hbdoc/genpdf1.prg
! Fixed warnings in HBDOC_PDF guarded code.
* common.mak
* make_vcce.mak
* make_b32.mak
* make_gcc.mak
* make_vc.mak
* utils/hbdoc/Makefile
* utils/hbdoc/hbdoc.prg
* utils/hbdoc/genpdf1.prg
- Removed pdflib references from make file, since the
contrib was not working and got removed.
+ PDF enabling logic in HBDOC made local to HBDOC.
Now HBDOC_PDF should be #defined in HARBOURFLAGS
(or PRG_USR) envvar, proper pdf library should be
specified using LDFLAGS envvar.
* contrib/mtpl_b32.mak
! Removed permanent '-P' C compiler switch
from .prg -> .c rule. Thanks Rafa.
Marek pls check me.
* harbour/include/hbclass.ch
* harbour/include/hbcomp.h
* harbour/source/compiler/hbmain.c
* harbour/source/compiler/harbour.yyc
* harbour/source/compiler/harbour.y
! fixed -w3 warnings when class name is different then function name
* allow to overwrite predefined classes definitions
it's a dirty hack but current implementation of predefined
function and class declarations has to be rewritten from scratch
in the future so I make it intentionally - at least it resolves
some memory leaks like: harbour -n -w3 tbcolumn.prg
* harbour/config/rules.cf
* harbour/make_b32.mak
* harbour/make_gcc.mak
* harbour/make_vc.mak
* harbour/make_vcce.mak
* harbour/contrib/mtpl_b32.mak
* harbour/contrib/mtpl_gcc.mak
* harbour/contrib/mtpl_vc.mak
* changed default Harbour compiler switch -w2 to -w3
* harbour/contrib/xhb/xhbcomp.prg
* replaced repeated declarations by small hack
* harbour/utils/hbmake/tmake.prg
! fixed reported by -w3 repeated aDir declaration
* harbour/source/rtl/tbrowse.prg
* calculate frozen area size for 5-th element of array returned
by xbase++ compatible method :viewArea(). Viktor please check me.
If you can also describe what exactly TOFIX in :firstScrCol()
and :viewArea() means then maybe I can help - I do not have
xbase++ so I do not know what should be fixed.
* harbour/ChangeLog
* harbour/harbour.spec
* reverted translation to UTF8 - Tomaz please check your editor
settings and disable automatic translation to UTF8. It's not
the first as such situation happens.
* harbour/include/hbclass.ch
+ added two missing PP directives
! protected against some repeated external definitions
* harbour/source/pp/Makefile
* harbour/source/pp/hbppgen.c
* harbour/source/pp/ppcore.c
* harbour/source/common/hbver.c
* harbour/source/common/hbverdsp.c
* harbour/source/main/harbour.c
* harbour/source/vm/cmdarg.c
* harbour/utils/hbpp/hbpp.c
* harbour/include/hbpp.h
* harbour/include/hbcomp.h
* harbour/include/hbver.h
* harbour/include/hbapi.h
* harbour/make_vcce.mak
* harbour/make_b32.mak
* harbour/make_vc.mak
* harbour/make_gcc.mak
+ added support for dynamically set during compilation ChangeLog entry
ChangeLog ID and SVN revision and compilation flags
Now hbppgen creates in include directory hbverbld.h file with
information extracted from ChangeLog. New hbppgen parameters:
Syntax: ./hbppgen <file>[.prg] [options]
Options: -i<path> add #include file search path
-c[<file>] look for ChangeLog file
-o<file> creates .c file with PP rules
-v<file> creates .h file with version information
-w write preprocessed (.ppo) input file
-q disable information messages
+ added new C functions:
int hb_verSvnID( void )
- retrieves ChangeLog SVN revision number
const char * hb_verSvnChangeLogID( void )
- retrieves a static buffer containing ChangeLog ID string
const char * hb_verSvnLastEntry( void )
- retrieves a static buffer containing ChangeLog last entry string
const char * hb_verFlagsC( void )
- retrieves a static buffer containing build time C compiler
flags in C_USR envvar
const char * hb_verFlagsL( void )
- retrieves a static buffer containing build time linker
flags in L_USR envvar
const char * hb_verFlagsPRG( void )
- retrieves a static buffer containing build time Harbour compiler
flags in PRG_USR envvar
+ added new default PP defines which can be used in .prg code compiled
by Harbour compiler: HB_VER_LENTRY, HB_VER_CHLID, HB_VER_SVNID
* harbour/source/rtl/gtxwc/gtxwc.c
* formatting
* harbour/source/rtl/gttrm/gttrm.c
! fixed redrawing GPM mouse pointer after screen updating
* harbour/source/rtl/gtstd/gtstd.c
* harbour/source/rtl/gtpca/gtpca.c
* updated for compilation even if some POSIX macros are not supported
f.e. problems with some DJGPP versions reported recently
* harbour/source/debug/dbgentry.c
* harbour/source/debug/dbgtobj.prg
* harbour/source/debug/dbgbrwsr.prg
* harbour/source/debug/dbgthsh.prg
* harbour/source/debug/tbrwtext.prg
* harbour/source/debug/dbgwa.prg
* harbour/source/debug/debugger.prg
* harbour/source/debug/dbghelp.prg
* harbour/source/debug/dbgtarr.prg
! Fixed object inspector in the debugger.
! Added HbDbBrowser:invalidate() message. Fixes work area browsing in debugger.
! Added an minimalistic TBrowse implementation that is just enough
for internal use by the debugger. Fixes miscellaneous problems e.g.
when debugging a piece of code with RELATIONs turned on.
Fixes by Phil Krylov borrowed from xHarbour.
* harbour/make_b32.mak
* Synchronized with make_vc.mak regarding HB_BUILD_ST and HB_BUILD_MODE
environment usage. There is still a difference between make_b32.mak
and make_vc.mak, because under BCC - ST mode is default, while under
MSVC - MT mode is default. To use MT mode under BCC one needs to
set HB_BUILD_ST to something different than a word "yes". For example:
set HB_BUILD_ST=no. The difference comes from the fact that so far
BCC build has always been done in ST mode. It will be changed after
a 1.0 release. Please note that harbour.dll is *always* built in MT
mode under BCC and MSVC.
* harbour/make_vc.mak
! Forced MT mode for harbour.dll
* Minor formating
* harbour/contrib/mtpl_vc.mak
! Fixed compilation using ST mode
* harbour/contrib/mtpl_b32.mak
! Fixed compilation of CPP files
+ Added ST/MT handling logic
* harbour/contrib/hbziparch/make_b32.bat
! Fixed compilation on some BCC instalations
* harbour/common.mak
* harbour/make_gcc.mak
* harbour/make_gcc.sh
+ Added the possibility to build dll/so of Harbour VM+RTL
(tested om MingW, Cygwin, FC8/64)
* harbour/make_b32.mak
* harbour/make_vc.mak
* harbour/make_vcce.mak
+ Added HB_ARCHITECTURE definition (to be used in a future)
* harbour/source/rtl/gtchrmap.c
! Fixed compilation under Linux using make_gcc.sh
* harbour/common.mak
* harbour/make_b32.mak
* harbour/make_vc.mak
! Reverted moving HB_GT_LIB to common.mak, because
in common.mak it is set to gtstd by default.
* make_vcce.bat
* make_vcce.mak
* make_b32.bat
* make_b32.mak
* make_vc.bat
* make_vc.mak
* common.mak
+ Now every internally used envvars are reset before
exiting.
! Not tampering with user level envvars by changing
their content to default values.
% HB_GT_* envvar defaulting move to .mak file level,
since these envvars were not used on batch file
level anyway.
* make_vcce.bat
* make_vcce.mak
* CFLAGS -DHB_NO_WIN_CONSOLE moved to the make file.
If there was any reason to have this only CE C flag
in batch file separated from the rest of the extra
CE C flags in the make file, please speak up.
This change may cause trouble for those using
the make file directly and at the same time don't
want to use the HB_NO_WIN_CONSOLE compiler flag.
In this case we should add a documented way to
disable it inside the make file IMO.
* contrib/freeimage/make_b32.bat
* contrib/freeimage/make_vc.bat
* contrib/apollo/make_b32.bat
* contrib/apollo/make_vc.bat
* contrib/firebird/make_b32.bat
* contrib/firebird/make_vc.bat
* contrib/pdflib/make_b32.bat
* contrib/pdflib/make_vc.bat
* contrib/hbzlib/make_b32.bat
* contrib/hbzlib/make_vc.bat
* contrib/pgsql/make_b32.bat
* contrib/pgsql/make_vc.bat
* contrib/gd/make_b32.bat
* contrib/gd/make_vc.bat
* contrib/rdd_ads/make_b32.bat
* contrib/rdd_ads/make_vc.bat
* contrib/mysql/make_b32.bat
* contrib/mysql/make_vc.bat
* contrib/odbc/make_b32.bat
* contrib/odbc/make_vc.bat
* contrib/what32/make_b32.bat
* contrib/what32/make_vc.bat
* contrib/msql/make_b32.bat
* contrib/msql/make_vc.bat
+ Now every internally used envvars are reset before
exiting the batch file, so they won't interact
with other batch files even if being called after
each other using "call". So "%COMPSPEC% /c" is not
necessary anymore when calling these batches.
! Fixed to use _HB_CC_NAME when dealing with .dll to .lib
conversions.
* contrib/make_b32_all.bat
* contrib/make_vc_all.bat
+ Added gtwvg library.
+ Added what32 library (to DO_NOT_COMPILE list for b32).
* contrib/mtpl_b32.bat
* contrib/mtpl_vc.bat
! Undone prev change because it interacted with .dll to .lib
conversions.
* make_b32.mak
! Removed -l flag from .dll creation to be in sync with the
rest of Harbour.
* contrib/mtpl_b32.mak
* contrib/mtpl_vc.mak
! Synced with core flags (VC mainly).
* contrib/freeimage/fi_winfu.c
* contrib/freeimage/fi_wrp.c
* contrib/freeimage/make_b32.bat
* contrib/freeimage/make_vc.bat
* contrib/firebird/firebird.c
* contrib/firebird/make_b32.bat
* contrib/firebird/make_vc.bat
* contrib/pdflib/make_b32.bat
* contrib/pdflib/make_vc.bat
* contrib/pdflib/pdfhbdoc.c
* contrib/pgsql/postgres.c
* contrib/pgsql/make_b32.bat
* contrib/pgsql/make_vc.bat
* contrib/mysql/mysql.c
* contrib/mysql/make_b32.bat
* contrib/mysql/make_vc.bat
! Some extra lib-level custom C flags fixed to be
in sync with rest of Harbour. (mainly HB_OS_WIN_32_USED)
* contrib/hbzlib/make_b32.bat
* contrib/hbzlib/make_vc.bat
! hbziparch extra switches removed (all of them).
This made surface a whole lot of warnings.
If someone wants to create a .dll from this,
-DZLIB_DLL will need to be added to C_USR.
-a8 switch was also removed from the BCC build.
If someone know that it's necessary, pls shout.
* harbour/make_b32.mak
* harbour/make_gcc.mak
* harbour/make_vc.mak
* harbour/make_vcce.mak
! Fixed generation of pptable.c for dll build
(I am amazed how it used to work before)
* Changed -Iobj\$(HB_CC_NAME) to -I$(OBJ_DIR)
* harbour/common.mak
* harbour/make_b32.mak
* harbour/make_gcc.mak
* harbour/make_vc.mak
* harbour/make_vcce.mak
* Moved HB and HBPPGEN definitions to common.mak
to reduce unnecesary redundancy
* harbour/contrib/make_b32.bat
* harbour/contrib/make_vc.bat
* Enclosed "help usage message" in double quotes
due to special meaning of "<>" symbols in command
processor.
* make_b32.mak
* make_vc.mak
! Fixed BC/VC make files to generated pptable.c in the obj
dir instead of source/pp.
! Synced BC/VC pptable.c dependencies with make_gcc.mak
; Suggested by Przemek.
* make_gcc.mak
! Fixed to not delete source/pp/pptable.c on clean
(since it's never generated there).