* contrib/hbbmcdx/bmdbfcdx.c
! fixed to not respect bitmap filters when structural order
is scanned, f.e. in OrdListAdd() with active bitmap filter.
* source/rtl/hbinet.c
! fixed return value of HB_INETGETSNDBUFSIZE
* source/common/hbver.c
! Version detection fixed for __DMC__
[TOMERGE 1.0.1]
* contrib/mtpl_gcc.mak
% One unnecessary C -I option deleted.
[TOMERGE 1.0.1]
- contrib/hbsqlit2
+ contrib/examples/hbsqlit2
* doc/whatsnew.txt
* Moved hbsqlit2 to examples.
[TOMERGE 1.0.1]
* contrib/examples/hbsqlit2/Makefile
* contrib/examples/hbsqlit2/make_b32.bat
* contrib/examples/hbsqlit2/make_gcc.sh
* contrib/examples/hbsqlit2/make_vc.bat
* contrib/examples/hbsqlit2/common.mak
* contrib/examples/hbsqlit2/tests/bld_b32.bat
* contrib/examples/hbsqlit2/tests/bld_vc.bat
* Modified make files to work from the new location.
* Location of sqlite2 headers can be specified by HB_INC_SQLITE2.
; Notice that sqlite2 lib itself should now be build separately.
[TOMERGE 1.0.1]
* harbour/source/rdd/dbfntx/dbfntx1.c
* harbour/source/rdd/dbfcdx/dbfcdx1.c
! fixed dirty index reading, thx Miguel for bug report
* harbour/source/compiler/hbmain.c
* removed old comment and hack
* make_vc.mak
* contrib/mtpl_vc.mak
+ -w34701 VC flag added to enabled warning 4701 (uninitialized vars) on -W3 level.
% -FD VC flag removed. This is only needed for IDEs.
% -Gs VC flag moved to the common section.
% VC flags synced in contrib with core.
+ TOFIX added for WinCE command line. It's full of stuff which is _probably_ not needed.
+ NOTE added about MSDN page explaining VC switches.
; NOTE: -W4 and -Wp64 are recommended for MSVC.
; TOFIX: There are still a few uninit vars warnings:
harboury.c(7226) : warning C4701: potentially uninitialized local variable 'hb_complval' used
macroy.c(3095) : warning C4701: potentially uninitialized local variable 'hb_macrolval' used
dbffpt1.c(2671) : warning C4701: potentially uninitialized local variable 'ulType' used
dbffpt1.c(2614) : warning C4701: potentially uninitialized local variable 'ulSize' used
dbffpt1.c(3073) : warning C4701: potentially uninitialized local variable 'ulOldSize' used
dbffpt1.c(3083) : warning C4701: potentially uninitialized local variable 'ulBlock' used
dbffpt1.c(3652) : warning C4701: potentially uninitialized local variable 'pBlock' used
* source/rdd/workarea.c
! Fixed DBI_POSITIONED value returned.
* include/hbsetup.h
* source/vm/pvalue.c
* source/rtl/fserror.c
* source/rtl/accept.c
* source/rtl/descend.c
* source/rtl/inkey.c
* source/rtl/dates.c
* source/rtl/fkmax.c
* source/rtl/natmsg.c
* source/rtl/hbinet.c
* source/rtl/dates.c
! Fixed some MSVS2008 -W4 warnings (we use -W3 as the default).
; NOTE: There is a lot more of these.
* source/rtl/dates.c
* Formatting.
* contrib/hbziparc/hbziparc.prg
! RTE fixed when not specifying some optional params.
! Fixed to parse the right array, and thus not exluding
all filenames to be zipped.
; Disclaimer: I'm not a user of these functions, and
I've admittedly not tested them besides tests/unzipa.prg
and tests/zipa.prg (which are pretty basic cases), so
bumps are expected. If you find some bugs, please try
to provide patches to fix them. Thanks.
* contrib/hbziparc/make_b32.bat
* contrib/hbziparc/make_vc.bat
% Special C flags not needed anymore.
- contrib/hbziparc/hbzipold.cpp
+ contrib/hbziparc/hbzipcpp.old
* Renamed to not look like something live.
* harbour-ce-spec
* make_deb.sh
* harbour-w32-spec
* harbour.spec
* contrib/Makefile
* contrib/make_b32_all.bat
* contrib/make_gcc_all.sh
* contrib/make_vc_all.bat
+ contrib/hbziparc
- contrib/hbziparch
+ hbziparc readded to default contrib list, as it
creates no more harm now.
; NOTE: And now that this is about ready, we might
step forward to develop a .7z interface ;)
* contrib/hbziparch/Makefile
* contrib/hbziparch/common.mak
- contrib/hbziparch/hbziparc.c
- contrib/hbziparch/hbxdirec.c
* contrib/hbziparch/hbzipnew.cpp
* Merged Harbour C parts to .cpp file.
* Made full low-level interface static.
* contrib/hbziparch/hbziparc.c
* contrib/hbziparch/hbzipnew.cpp
% Merged slightly different internal functions, thus
removing significant redundancy.
Higher level hb_unzipFile(), hb_unzipFileIndex(), hb_unzipAllFile()
are now functionally the same, since the only difference was
how the file list parameter was handled.
! Removed any remaining Win32 dependency.
* contrib/hbziparch/hbziparc.c
* contrib/hbziparch/hbzipnew.cpp
* Complete cleanup/refactor/fixes.
(original functions and internal logic was kept,
except some shady path/curdir manipulations, which
were removed, along with any directory changes)
The code got significantly easier to oversee, so if
someone wants to find out how this interface works,
now the code is much easier to read. If we want to
keep this in Harbour, maybe we could just swap the
low-level interface to utilize hbmzip calls instead
of ZipArchive ones. We would lose the segmented
archive feature though, but I'm not sure how
important this is these days, when there is no
floppy disk anymore.
Code size is now 40% smaller than in 1.0.0.
It's still far from being perfect, but now it's at
least possible to fix.
* utils/hbmake/hbmake.prg
; Applied patch by Bill Robertson:
! Fixed previously introduced (by me actually) bug. Thanks.
% Removed "non-extended" codepath, since it was never used.
! UI elements fixed to properly accomodate to any
screen dimensions.
* utils/hbmake/hbmake.prg
! Fixed to not change casing of files, plus a few other minor fixes.
! Made one filename comparison multiplatform by using hb_FileMatch()
; Added TOFIXes where filename comparison is not multiplatform.
% Removed some dead or commented code.
- contrib/hbw32ddr
* contrib/Makefile
* contrib/make_b32_all.bat
* contrib/make_gcc_all.sh
* contrib/make_vc_all.bat
- Removed contrib hbw32ddr.
For those wanting to peek into this code, or
pick up development, the exact source can be
found in Harbour 1.0.0 release.
* contrib/hbziparch/hbziparc.c
* contrib/hbziparch/hbzipnew.cpp
% Cleanups, optimizations, fixes. Now it's possible to
oversee what the code actually tries to do.
* Statics reduced to one, not changing current dir anymore.
; It may happen that something is not working as it was, please test.
Path handling is/was very shady. Unix support is (and was)
not working at places.
; NOTE: 'Kiss of death' change.
Please be prepared that I plan to remove hbziparch
from the repository sometimes this week. If you have
a strong reason not to do so (or some alternative
proposal), pls write to the list.
If someone wants to continue using it, it can be accessed
from past revisions of the SVN, or the 1.0.0 binary and
source releases.
Someone could as well upload the lastest (or latest stable)
revision to our website.
- contrib/hbziparch/hbziparc.h
* contrib/hbziparch/hbziparc.c
* contrib/hbziparch/hbzipnew.cpp
* contrib/hbziparch/tests/unzipa.prg
% Further cleanups, optimizations.
% Removed adding current directory to .zip filename
if it didn't contain a path. If a file doesn't contain
path, the OS will create it by default in the current dir.
If someone knows why this hack was there, please tell.
* contrib/hbziparch/hbziparc.h
* contrib/hbziparch/hbziparc.c
* contrib/hbziparch/hbzipnew.cpp
! Fixed several potential leaks.
% Optimized out several unnecessary allocations.
% Optimized out several unnecessary string copying.
% Cleaned all global variables.
% Cleaned all static variables in C code.
% Using HB_ERR_FUNCNAME.
! Returning empty values instead of NULL.
! Fixed potential GPFs.
! Using manifest constants instead of literals.
* Cleaned header file and constant usage.
* Other minor fixes and optimizations.
* Formatting.
; The code is still a mess.
* contrib/hbziparch/hbziparc.h
* contrib/hbziparch/hbziparc.c
* contrib/hbziparch/hbzipnew.cpp
* contrib/hbziparch/hbxdirec.c
% Cleanups: Unused headers, types, one #define,
one BCC582 warning, one Linux/GCC/MinGW #ifdef oddness.
; NOTE: Need to test this on Linux.
* utils/hbmake/hbmake.prg
; Applied cleanup and fix patch from Bill Robertson:
! LIBFILES -> HBLIBS
EXTERNLIB -> CONTRIBLIB
EXTLIBFILES -> CONTRIBLIBS
* ALLLIB = $(USERLIBS) $(LIBFILES) ... ->
ALLLIB = $(USERLIBS) $(CONTRIBLIBS) $(HBLIBS) ...
% Removed CONTRIBLIB = YES from makefile output as it did nothing.
% Combined two ShowHelp() secs into one and put together
with ShowCredits() at top of program.
% Simplied Flag checks somewhat but it's still awkward. I fixed
a mingw bug where a flag was set to .t. in one place and .f.
later because of inconsistent use of letters, capitals/lower, etc.
Still lots of checking for lower(...), upper(...), etc. of the
command-line params.
* Changed Help screen to reflect current program options better.
* Made some alert message a little clearer and minor formatting.
! Initalized s_nMakeFileHandle to F_ERROR and reset it to F_ERROR
whenever the file was closed. Didn't seem to be a current problem,
just good practice.
* utils/hbmake/hbmake.prg
* Removed separate /credits switch and added content to
main help screen.
% Removed a few CLS commands from command-line orientated
places.
% Removed -elx and -ex from help screen (as these are the
same as -el and -e). They are still accepted though.
* source/compiler/hbusage.c
+ Added Bill Robertson to credits list.
* contrib/hbole/oleauto.prg
* contrib/hbw32/w32_tole.prg
* MessageBox() calls converted to Alert()s.
A #translate added for the to be reconverted to MessageBox(),
since I'm not sure why should we use MessageBox()es here?
IMO it'd be better to throw RTEs, or handle these cases more
"natively". Opinions?
* contrib/hbole/oleauto.prg
+ Modified to generate RTE when the object could not
be created, so that it works more like OLE in hbw32.lib,
and the test doesn't crash in this case. I don't have
Excel, and this is what I could fix without it.
* contrib/hbw32/w32_tole.prg
* contrib/hbw32/w32_ole.c
! Typos, minor formatting.
* common.mak
* source/hbpcre/Makefile
* source/hbpcre/cnv_hb2o.bat
* source/hbpcre/cnv_o2hb.bat
- source/hbpcre/ucpinter.h
- source/hbpcre/ucptable.h
- source/hbpcre/pcrefind.c
+ source/hbpcre/pcreucd.c
* source/hbpcre/pcrevutf.c
* source/hbpcre/pcre.h
* source/hbpcre/pcreconf.c
* source/hbpcre/pcreinfo.c
* source/hbpcre/pcremktb.c
* source/hbpcre/config.h
* source/hbpcre/pcrenewl.c
* source/hbpcre/pcreoutf.c
* source/hbpcre/chartabs.c
* source/hbpcre/pcrerefc.c
* source/hbpcre/pcreget.c
* source/hbpcre/pcrefinf.c
* source/hbpcre/pcretryf.c
* source/hbpcre/pcreexec.c
* source/hbpcre/pcreinal.h
* source/hbpcre/pcretabs.c
* source/hbpcre/pcredfa.c
* source/hbpcre/pcrever.c
* source/hbpcre/pcrecomp.c
* source/hbpcre/pcrexcls.c
* source/hbpcre/pcrestud.c
* source/hbpcre/ucp.h
+ Updated to PCRE 7.8 RC1
(will be updated to final pretty soon)
This version contains the small patches we
so far had locally in Harbour. Thanks to
Philip Hazel for applying them.
* utils/hbmake/hbmake.prg
; Applied patch created by Bill Robertson:
* The following functions aren't used in hbmake and were removed:
FindCfile(), TestforPrg(), AsDll(), ExtenPrg(), GetMakeDir()
* ChangeLog
! Minor typo.
* utils/hbmake/hbmake.prg
% Minor cleanup.
* source/common/hbver.c
* Further cleanup of constant usage.
+ Changed Borland to CodeGear to BCC5.9 and above.
(borrowed from xhb / Andi Jahja)
* config/w32/gcc.cf
* config/w32/dm.cf
* contrib syslibs moved to separate lines.
* source/rtl/gtchrmap.c
* source/rtl/hbgtcore.c
* source/vm/hvm.c
+ Added three TOFIXes regarding namespace violations.
s_pszLinkedMain -> hb_vm_pszLinkedMain
s_defaultGT -> hb_gt_szNameDefault
s_szDefaultCharMapFile -> hb_gt_szCharMapFileDefault
TOFIX: These should be fixed in 1.1 (or maybe even in
1.0.1 if this isn't such a big problem for 3rd
parties).
* contrib/gtwvg/wvgutils.c
! Fixed to use documented Harbour API hb_winmainArgGet()
instead of the (since cleaned away) undocumented Harbour
global variable hb_hInstance.