* utils/hbmk2/hbmk2.prg
+ use implibs (if available) as source of information
for updating .hbx files in -hbdyn mode. See in-code
comment for more.
* utils/hbmk2/pkg_dynl.hbm
+ enabled to rebuild .hbx files even in -hbdyn mode
(after above hbmk2 fix/improvement)
* extras/template/hbtpl.hbc
* extras/template/hbtpl.hbp
* minor tidying
* utils/hbmk2/pkg_dynl.hbm
* deleted no longer true reference to GNU Make
* contrib/rddads/adsfunc.c
* contrib/rddads/rddads.hbx
+ added AdsDDCreateRefIntegrity() and AdsDDRemoveRefIntegrity()
(former looks similar to xhb version, but incompatible due
to the several necessary fixes.)
+ extras/template
+ extras/template/core.prg
+ extras/template/corec.c
+ extras/template/hbtpl.ch
+ extras/template/hbtpl.hbc
+ extras/template/hbtpl.hbp
+ extras/template/hbtpl.hbx
+ extras/template/readme.txt
+ extras/template/tests
+ extras/template/tests/hbmk.hbm
+ extras/template/tests/sample.prg
+ extras/template/tests/test.prg
+ added Harbour library project template
it supports static and dynamic lib build mode,
features user defined macro, command, PRG
level function and C level function, sample
code, regression tests, .hbc file and automatic
installation to /addons and readme describing
the commands to build and use the library.
* contrib/hbrun/hbrun.hbp
! load dynamically loaded hbunix/hbwin default extensions
only on their native platforms. This avoid load warning
if the packages is completely missing on a system, so
the .hbc file isn't there, so the filter based detection
cannot work.
* contrib/xhb/regexrpl.prg
* contrib/xhb/xhb.hbx
! minor casing fix
+ contrib/xhb/tests/regexrpl.prg
+ added test from xhb (the function doesn't
seem to work)
+ tests/regex.prg
+ tests/regextst.prg
+ added regex tests from xhb
* contrib/hblzf/tests/test.prg
! typos
* package/winuni/RELNOTES.txt
* minor
* contrib/hbpost.hbm
* utils/hbmk2/pkg_dynl.hbm
* hack to avoid contrib/addon dynamic libs being used
automatically on *nix system when building executables.
Now they will be put in bin dir, just like on win.
* utils/hbmk2/hbmk2.prg
+ hbshell_include_list() API to list loaded core headers.
+ allow loading dynamic extensions on *nix even if built
against static HVM.
* display statically linked extensions in uppercase in
dot prompt UI and dynamic ones with original (lower) case.
(was normal case and postfixed with '*' respectively)
+ do not load dynamic extension if the .hbc file is not found
+ attempt to detect if dynamic extension loads fine on
a given platform and only try loading the dynamic lib
if it does.
+ added protection to not add duplicate compiler options
when compiling dot prompt entry.
* contrib/hbrun/hbrun.hbp
+ load default contrib libs dynamically on *nix, even if
hbrun is built against static HVM.
; these make work dynamic extensions on *nix systems.
* contrib/hbtip/sessid.prg
* extras/httpsrv/cgifunc.prg
* updated HTTP date format to use preferred format:
http://tools.ietf.org/html/rfc2616#section-3.3.1
% optimized code and eliminated unnecessary _SET_DATEFORMATs
; tip_DateToGMT() and its uhttpd_DateToGMT() derivative
* src/compiler/hbusage.c
* updated contributor list
* contrib/sddoci/tests/test1.prg
* contrib/sddodbc/tests/test1.prg
* contrib/sddodbc/tests/test2.prg
* contrib/sddsqlt3/tests/test1.prg
* use std way to configure date format
* contrib/hbrun/hbrun.hbp
* utils/hbmk2/hbmk2.prg
+ loading packages using ext.load, hbshell_ext_load(),
'hb_ext.ini'/'hb_extension' config files and HB_EXTENSION
envvar will now automatically load the packages'
standard headers and will properly set HBMK_HAS_* macros,
just like when running scripts or using .hbc files.
+ do not statically link contribs to hbrun when hbrun
is built dynamically. Instead, load default contribs
dynamically on startup (yes, performance will be worse.
If you don't like this, see 2012-12-03 15:17 UTC+0100).
This way these loaded packages will behave exactly the
same as any other dynamically loaded packages, f.e.
standard headers will be loaded and usable.
+ hbshell_include()/hbshell_uninclude() will now
load/unload core headers available in dot prompt.
+ 'hb.ch' core header is now loaded for scripts and dot
prompt by default. It means that K_ESC will now
return 27 and hb_gtInfo( HB_GTI_VERSION ) will work
as well, just like many other commonly used constants.
For a precise list, see the content of include/hb.ch.
If you don't like it, unload it from hbstart.hb using
hbshell_uninclude( "hb.ch" )
% use embedded headers when using the dot prompt.
* contrib/hbsms/sms.prg
* commented code cleanup
* config/global.mk
* README.txt
+ enabled dynlib generation by default on the Windows
platform. It means that hbrun will be built in shared
mode, so it can load them. You can copy hbmk2 to the name
'hbrun' and get a static built hbrun, or build it using
its .hbp file to your own needs. If you feel offended
anyways, turn off dyn contribs as described in README.txt
* contrib/hbxdiff/tests/test3.prg
! fixed to run as script
* contrib/hbnf/tests/dfile.prg
* contrib/hbnf/tests/pending.prg
* use CLS instead of old dBase trick
* utils/hbmk2/hbmk2.prg
+ automatically define HBMK_HAS_<packagename> macro
if a given package is linked or loaded when running
as script. F.e. HBMK_HAS_HBGD. The macro will have
the value zero if there is no version information
about the package and it will be 0x010203 if there
is, via .hbc version=x[.y[.z]] directive.
* extras/httpsrv/modules/showcounter.prg
* extras/httpsrv/modulesg.hbp
* extras/httpsrv/uhttpd.prg
* extras/httpsrv/uhttpdgd.hbp
+ use HBMK_HAS_* macro instead of manually rolled solution
* extras/hbusb/hbusb.hbc
* extras/hbusb/tests/hbmk.hbm
* extras/hbusb/tests/test.prg
* extras/hbvpdf/hbvpdf.hbc
* extras/hbvpdf/tests/pdf_demo.prg
+ use default headers extras where it makes sense
* include/Makefile
- include/hbtest.ch
* src/rtl/Makefile
- src/rtl/hbtest.prg
* utils/hbmk2/hbmk2.prg
- deleted hbtest from core.
* contrib/hbct/tests/test.prg
* contrib/hbgt/tests/test.prg
* contrib/hbmisc/tests/tsstrfmt.prg
* modified regression tests to use hbtest contrib
instead of hbtest functionality in core RTL
; Thanks to Mindaugas and Przemek, now the contrib
tests will require users to manually add 'hbtest.hbc'
to their hbmk2 cmdline in case someone would like
to build exes from them. Which means that fewer
people will bother to build and run them. They still
run simply using 'hbrun <name>.prg' as scripts.
* src/rtl/hbtest.prg
! made another accidentally public function STATIC
% merged XToStr() and XToStrE()
% XToStr() modified to use hb_CStr() where it can
* utils/hbtest/hbtest.prg
* utils/hbtest/rt_hvma.prg
* utils/hbtest/rt_math.prg
* utils/hbtest/rt_misc.prg
* utils/hbtest/rt_trans.prg
% synced in-string date format with src/rtl/hbtest.prg
* contrib/hbmisc/tests/tsstrfmt.prg
! fixed to not rely on current date
! fixed to set date format
* utils/hbmk2/hbmk2.prg
* utils/hbmk2/*.po
+ accept .ch files as project input. These headers
will be used as standard ones using -u+ option.
F.e.:
--- test.prg
? K_ESC
---
$ hbmk2 inkey.ch test.prg
$ test -> 27
+ accept .ch files in sources= .hbc directive.
; TODO: consider deleting headers= directive
* include/hb.ch
* utils/hbmk2/hbmk2.prg
* minor sync between list of "essential" core headers
and the minimal list of core headers embedded into hbmk2.
(minimal list is not used in default builds)
* added missing hbstrict.ch to full list of included headers
* contrib/hbgd/tests/hbmk.hbm
* contrib/hbgd/tests/animgif.prg
* contrib/hbgd/tests/antialia.prg
* contrib/hbgd/tests/counter.prg
* contrib/hbgd/tests/gdtest.prg
* contrib/hbgd/tests/gdtestcl.prg
* contrib/hbgd/tests/tostring.prg
* contrib/hbgd/tests/tpoly.prg
* experiment: instead of #including "simpleio.ch" in
most tests, I added -u+simpleio.ch to hbmk.hbm so
it's automatically enabled for all tests.
(need to be careful about it f.e. in /tests/ where
some code assumes that ?/?? goes to screen, not
stdout)
* contrib/hbwin/tests/testprn.prg
* contrib/hbwin/tests/testprn2.prg
* contrib/hbwin/win_tprn.prg
* cleanups (names, avoid QUIT, use hb_StrFormat(), etc)
* contrib/gtwvg/gtwvg.hbc
+ added all three headers as standard one
(they were all used in all tests files)
* 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
* contrib/gtwvg/tests/demowvg1.prg
* contrib/gtwvg/tests/demoxbp.prg
% do not explicitly include standard gtwvg headers
* contrib/gtwvg/tests/_utils.prg
! fixed to not define a function which is already
defined as a macro
* contrib/gtwvg/wvgparts.ch
* minor
* contrib/gtwvg/hbgtwvg.ch
! fixed the way some HB_GTE_* event macro collision
is avoided with core
* contrib/rddads/ads.ch
! added missing self-guard
* contrib/hbmagic/tests/hbmagit.prg
* contrib/hbmxml/tests/custom.prg
* contrib/hbmxml/tests/reminder.prg
* contrib/hbmxml/tests/testmxml.prg
% no longer use #include to include standard
package headers. Rely on autoload triggered
by .hbc file or #require directive.
(missed from prev)
* contrib/rddads/tests/datad.prg
* contrib/rddads/tests/testmg.prg
! fixed to run properly as scripts
(need to register RDDs manually in such scenario,
maybe this could be automatized?)
* contrib/hbwin/hbwin.hbc
* contrib/rddads/rddads.hbc
+ set hbwin.ch and ads.ch as standard headers
; NOTE: Seems that hbct, hbxpp and xhb contribs
do not have such what could be called
common standard headers.
For gtwvg I cannot tell, but probably
all three .ch files should be standard.
* contrib/hbwin/tests/testax.prg
* contrib/hbwin/tests/testcom1.prg
* contrib/hbwin/tests/testcom2.prg
* contrib/hbwin/tests/testcopy.prg
* contrib/hbwin/tests/testevnt.prg
* contrib/hbwin/tests/testgdi.prg
* contrib/hbwin/tests/testmapi.prg
* contrib/hbwin/tests/testprn.prg
* contrib/hbwin/tests/testreg.prg
* contrib/hbwin/tests/testsvc.prg
* contrib/hbzebra/tests/testwin.prg
* contrib/rddads/tests/datad.prg
* contrib/rddads/tests/testmg.prg
% no longer use #include to include standard
package headers. Rely on autoload triggered
by .hbc file or #require directive.
; WARNING: The autoload feature for standard package
headers should be generally harmless, but
it might as well pose an INCOMPATIBILITY
if user code redefines or simply uses
macro names/commands in user code that
collide with the ones defined in these
standard headers.
If this comes up, avoid using .hbc files,
until your code is changed/fixed to avoid
name collisions either by renames or
undeffing the standard ones.
As consequence it's even more important
to pay attention to macro namespaces used
in package headers to avoid accidental
collision with user code. This was standard
practice for function/class names, now it
is extended for macros/user commands.
* contrib/hbwin/hbole.ch
! missing svn props
* contrib/hbwin/hbsim.ch
* contrib/hbfoxpro/hbfoxpro.ch
* contrib/hbmysql/mysql.ch
! added missing self-guards
This was a requirement, but now it really must
be done, if a header wants to be put in headers=
directive in a .hbc file for auto-inclusion.
* contrib/hbmysql/tests/dbf2mysq.prg
! missing #require directive
* contrib/hbblat/hbblat.hbc
* contrib/hbblink/hbblink.hbc
* contrib/hbbz2/hbbz2.hbc
* contrib/hbcairo/hbcairo.hbc
* contrib/hbcurl/hbcurl.hbc
* contrib/hbexpat/hbexpat.hbc
* contrib/hbfimage/hbfimage.hbc
* contrib/hbfoxpro/hbfoxpro.hbc
* contrib/hbgd/hbgd.hbc
* contrib/hbhpdf/hbhpdf.hbc
* contrib/hblzf/hblzf.hbc
* contrib/hbmagic/hbmagic.hbc
* contrib/hbmlzo/hbmlzo.hbc
* contrib/hbmxml/hbmxml.hbc
* contrib/hbmysql/hbmysql.hbc
* contrib/hbmzip/hbmzip.hbc
* contrib/hbnetio/hbnetio.hbc
* contrib/hbpgsql/hbpgsql.hbc
* contrib/hbsqlit3/hbsqlit3.hbc
* contrib/hbssl/hbssl.hbc
* contrib/hbtpathy/hbtpathy.hbc
* contrib/hbxdiff/hbxdiff.hbc
* contrib/hbzebra/hbzebra.hbc
* contrib/rddsql/rddsql.hbc
+ added .ch headers to .hbc files for
autoload.
; For some contribs it still has to do
for several reasons, f.e. .ch file overrides
standard features so they must stay optional,
or they must be optional for other reasons,
or they have multiple headers and I didn't
decide yet which one of those should be
standard.
* contrib/hbexpat/tests/test.prg
* contrib/hbexpat/tests/tohash.prg
* contrib/hbfimage/tests/fitest.prg
* contrib/hbgd/tests/animgif.prg
* contrib/hbgd/tests/antialia.prg
* contrib/hbgd/tests/counter.prg
* contrib/hbgd/tests/gdtest.prg
* contrib/hbgd/tests/gdtestcl.prg
* contrib/hbgd/tests/test_out.prg
* contrib/hbgd/tests/testdpi.prg
* contrib/hbgd/tests/tostring.prg
* contrib/hbgd/tests/tpoly.prg
* contrib/hbhpdf/tests/harupdf.prg
* contrib/hblzf/tests/test.prg
* contrib/hbmlzo/tests/test.prg
* contrib/hbpgsql/tests/cache.prg
* contrib/hbpgsql/tests/stress.prg
* contrib/hbpgsql/tests/test.prg
* contrib/hbsqlit3/tests/authoriz.prg
* contrib/hbsqlit3/tests/backup.prg
* contrib/hbsqlit3/tests/blob.prg
* contrib/hbsqlit3/tests/hooks.prg
* contrib/hbsqlit3/tests/metadata.prg
* contrib/hbsqlit3/tests/pack.prg
* contrib/hbsqlit3/tests/sl3_test.prg
* contrib/hbssl/tests/bio.prg
* contrib/hbssl/tests/crypt.prg
* contrib/hbssl/tests/digest.prg
* contrib/hbssl/tests/encode.prg
* contrib/hbssl/tests/pem.prg
* contrib/hbssl/tests/test.prg
* contrib/hbxdiff/tests/test.prg
* contrib/hbxdiff/tests/test2.prg
* contrib/hbxdiff/tests/test3.prg
* contrib/hbzebra/tests/testcair.prg
* contrib/hbzebra/tests/testhpdf.prg
* contrib/hbzebra/tests/testwin.prg
* contrib/sddmy/tests/test1.prg
* contrib/sddoci/tests/test1.prg
* contrib/sddodbc/tests/test1.prg
* contrib/sddodbc/tests/test2.prg
* contrib/sddsqlt3/tests/test1.prg
% no longer use #include to include standard
package headers. Rely on autoload triggered
by .hbc file or #require directive.
* contrib/hbblat/hbblat.hbc
* contrib/hbblink/hbblink.hbc
* contrib/hbbz2/hbbz2.hbc
* contrib/hbcairo/hbcairo.hbc
* contrib/hbcurl/hbcurl.hbc
+ specified automatic headers
* contrib/hbcurl/tests/ftp_uldl.prg
! added missing #require
* contrib/hbcairo/tests/fancytxt.prg
* contrib/hbcairo/tests/glyphdbg.prg
* contrib/hbcairo/tests/hellow.prg
* contrib/hbcairo/tests/lightning.prg
* contrib/hbcairo/tests/table.prg
* contrib/hbcurl/tests/ftp_uldl.prg
% do not explicitly #include headers
; Please note this will require that you build
these samples using hbmk2 and using .hbc files,
or run them as hbrun scripts.
* contrib/hbodbc/hbodbc.hbc
* minor
* utils/hbmk2/hbmk2.prg
+ automatically load headers listed in .hbc file
when executing an .hb script
* contrib/hbodbc/tests/testodbc.prg
% #include "sql.ch" no longer needed either when
built to an executable or when executed as script
* contrib/hbodbc/hbodbc.hbc
+ added experimental headers= line
* utils/hbmk2/hbmk2.prg
* utils/hbmk2/hbmk2.es_PE.po
* utils/hbmk2/hbmk2.hu_HU.po
* utils/hbmk2/hbmk2.pt_BR.po
+ added support for new .hbc directive:
-headers=<.ch files>
wildcards accepted.
hbmk2 will automatically include the listed headers
for all source files. It will be more efficient than
including them to each file, as they are processed
only once (well, at least I hope this optimization
is done by Harbour PP/compiler). It also makes it
unnecessary to manually #include headers that belong
to a module/package.
* utils/hbtest/hbtest.prg
* utils/hbtest/rt_array.prg
* utils/hbtest/rt_class.prg
* utils/hbtest/rt_date.prg
* utils/hbtest/rt_file.prg
* utils/hbtest/rt_hvm.prg
* utils/hbtest/rt_hvma.prg
* utils/hbtest/rt_main.ch
* utils/hbtest/rt_math.prg
* utils/hbtest/rt_misc.prg
* utils/hbtest/rt_mt.prg
* utils/hbtest/rt_str.prg
* utils/hbtest/rt_stra.prg
* utils/hbtest/rt_trans.prg
% use the same HBTEST command format for tests as
available for contribs and 3rd parties.
It made source easier to edit and code size
smaller by 111KB.
+ contrib/xhb/xhwinprn.prg
- contrib/xhb/xhw32prn.prg
* contrib/xhb/xhb.hbp
* renamed to avoid using '32' when referring to Windows API
* src/rtl/gtcrs/gtcrs.c
* src/rtl/gtos2/gtos2.c
* deleted excessive {}
* commented code converted to #if 0 blocks
* formatting