b1ded1ebb493aedc4f62f71300aeb99ddbabe8bd
55 Commits
| Author | SHA1 | Message | Date | |
|---|---|---|---|---|
|
|
4f7b0310d3 |
2008-11-11 03:13 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
+ contrib/examples/rl
+ contrib/examples/rl/Makefile
+ contrib/examples/rl/hbmk_b32.bat
+ contrib/examples/rl/hbmk_vc.bat
+ contrib/examples/rl/readme.txt
+ Added build files for Clipper RL utility.
(if someone remembers :)
* contrib/examples/guestbk/hbmk_vc.bat
* contrib/examples/pp/hbmk_vc.bat
* contrib/examples/pe/hbmk_vc.bat
* contrib/examples/dbu/hbmk_b32.bat
* contrib/examples/dbu/hbmk_vc.bat
* contrib/examples/hscript/hbmk_vc.bat
* utils/hbdoc/hbmk_b32.bat
* utils/hbdoc/hbmk_vc.bat
* utils/hbmake/hbmk_b32.bat
* utils/hbmake/hbmk_vc.bat
% Removed winspool.lib from liblists.
% Removed '/subsystem:console' from MSVC commandlines.
+ Added gtwvt.lib + gdi32.lib to liblists.
(work in progress)
* contrib/examples/dbu/readme.txt
* Minor.
* contrib/examples/pe/editorhi.prg
! Fixed stupid s&r error which broke compilation.
[TOMERGE 1.0]
|
||
|
|
20afe05286 |
2008-11-09 20:49 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
- contrib/hbmysql/utils/bld_b32.bat
- contrib/hbmysql/utils/bld_vc.bat
+ contrib/hbmysql/utils/hbmk_b32.bat
+ contrib/hbmysql/utils/hbmk_vc.bat
- contrib/hbgd/tests/bld.sh
+ contrib/hbgd/tests/hbmk_gnu.sh
* contrib/hbbtree/tests/hbmk_b32.bat
* contrib/hbbtree/tests/hbmk_vc.bat
* contrib/examples/pp/hbmk_b32.bat
* contrib/examples/pp/hbmk_vc.bat
* contrib/examples/guestbk/hbmk_b32.bat
* contrib/examples/guestbk/hbmk_vc.bat
* contrib/examples/pe/hbmk_b32.bat
* contrib/examples/pe/hbmk_vc.bat
* contrib/examples/hscript/hbmk_vc.bat
* Some remaining renames.
* Got rid of temp files in BCC batch files. Win9x is no longer
supported.
* Some other minor cleanups.
|
||
|
|
70425cd2eb |
2008-11-09 20:27 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
- contrib/examples/dbu/bld_b32.bat
- contrib/examples/dbu/bld_vc.bat
+ contrib/examples/dbu/hbmk_b32.bat
+ contrib/examples/dbu/hbmk_vc.bat
- contrib/examples/guestbk/bld_b32.bat
- contrib/examples/guestbk/bld_vc.bat
+ contrib/examples/guestbk/hbmk_b32.bat
+ contrib/examples/guestbk/hbmk_vc.bat
- contrib/examples/hbsqlit2/tests/bld_b32.bat
- contrib/examples/hbsqlit2/tests/bld_vc.bat
+ contrib/examples/hbsqlit2/tests/hbmk_b32.bat
+ contrib/examples/hbsqlit2/tests/hbmk_vc.bat
- contrib/examples/hscript/bld_b32.bat
- contrib/examples/hscript/bld_vc.bat
+ contrib/examples/hscript/hbmk_b32.bat
+ contrib/examples/hscript/hbmk_vc.bat
- contrib/examples/pe/bld_b32.bat
- contrib/examples/pe/bld_vc.bat
+ contrib/examples/pe/hbmk_b32.bat
+ contrib/examples/pe/hbmk_vc.bat
- contrib/examples/pp/bld_b32.bat
- contrib/examples/pp/bld_vc.bat
+ contrib/examples/pp/hbmk_b32.bat
+ contrib/examples/pp/hbmk_vc.bat
- contrib/gtwvg/tests/bld_b32.bat
- contrib/gtwvg/tests/bld_vc.bat
+ contrib/gtwvg/tests/hbmk_b32.bat
+ contrib/gtwvg/tests/hbmk_vc.bat
- contrib/hbapollo/tests/bld_b32.bat
- contrib/hbapollo/tests/bld_vc.bat
+ contrib/hbapollo/tests/hbmk_b32.bat
+ contrib/hbapollo/tests/hbmk_vc.bat
- contrib/hbbtree/tests/bld_b32.bat
- contrib/hbbtree/tests/bld_djgp.bat
- contrib/hbbtree/tests/bld_vc.bat
+ contrib/hbbtree/tests/hbmk_b32.bat
+ contrib/hbbtree/tests/hbmk_djg.bat
+ contrib/hbbtree/tests/hbmk_vc.bat
- contrib/hbclipsm/tests/bld_b32.bat
- contrib/hbclipsm/tests/bld_vc.bat
+ contrib/hbclipsm/tests/hbmk_b32.bat
+ contrib/hbclipsm/tests/hbmk_vc.bat
- contrib/hbct/tests/bld_b32.bat
- contrib/hbct/tests/bld_vc.bat
+ contrib/hbct/tests/hbmk_b32.bat
+ contrib/hbct/tests/hbmk_vc.bat
- contrib/hbcurl/tests/bld_b32.bat
- contrib/hbcurl/tests/bld_vc.bat
+ contrib/hbcurl/tests/hbmk_b32.bat
+ contrib/hbcurl/tests/hbmk_vc.bat
- contrib/hbfbird/tests/bld_b32.bat
- contrib/hbfbird/tests/bld_vc.bat
+ contrib/hbfbird/tests/hbmk_b32.bat
+ contrib/hbfbird/tests/hbmk_vc.bat
- contrib/hbfimage/tests/bld_b32.bat
- contrib/hbfimage/tests/bld_vc.bat
+ contrib/hbfimage/tests/hbmk_b32.bat
+ contrib/hbfimage/tests/hbmk_vc.bat
- contrib/hbgd/tests/bld_b32.bat
- contrib/hbgd/tests/bld_vc.bat
+ contrib/hbgd/tests/hbmk_b32.bat
+ contrib/hbgd/tests/hbmk_vc.bat
- contrib/hbgf/tests/bld_b32.bat
- contrib/hbgf/tests/bld_vc.bat
+ contrib/hbgf/tests/hbmk_b32.bat
+ contrib/hbgf/tests/hbmk_vc.bat
- contrib/hbhpdf/tests/bld_b32.bat
- contrib/hbhpdf/tests/bld_vc.bat
+ contrib/hbhpdf/tests/hbmk_b32.bat
+ contrib/hbhpdf/tests/hbmk_vc.bat
- contrib/hbmisc/tests/bld_b32.bat
- contrib/hbmisc/tests/bld_vc.bat
+ contrib/hbmisc/tests/hbmk_b32.bat
+ contrib/hbmisc/tests/hbmk_vc.bat
- contrib/hbmysql/tests/bld_b32.bat
- contrib/hbmysql/tests/bld_vc.bat
+ contrib/hbmysql/tests/hbmk_b32.bat
+ contrib/hbmysql/tests/hbmk_vc.bat
- contrib/hbmzip/tests/bld_b32.bat
- contrib/hbmzip/tests/bld_vc.bat
+ contrib/hbmzip/tests/hbmk_b32.bat
+ contrib/hbmzip/tests/hbmk_vc.bat
- contrib/hbnf/tests/bld_b32.bat
- contrib/hbnf/tests/bld_vc.bat
+ contrib/hbnf/tests/hbmk_b32.bat
+ contrib/hbnf/tests/hbmk_vc.bat
- contrib/hbodbc/tests/bld_b32.bat
- contrib/hbodbc/tests/bld_vc.bat
+ contrib/hbodbc/tests/hbmk_b32.bat
+ contrib/hbodbc/tests/hbmk_vc.bat
- contrib/hbole/tests/bld_b32.bat
- contrib/hbole/tests/bld_vc.bat
+ contrib/hbole/tests/hbmk_b32.bat
+ contrib/hbole/tests/hbmk_vc.bat
- contrib/hbpgsql/tests/bld_b32.bat
- contrib/hbpgsql/tests/bld_vc.bat
+ contrib/hbpgsql/tests/hbmk_b32.bat
+ contrib/hbpgsql/tests/hbmk_vc.bat
- contrib/hbsqlit3/tests/bld_b32.bat
- contrib/hbsqlit3/tests/bld_vc.bat
+ contrib/hbsqlit3/tests/hbmk_b32.bat
+ contrib/hbsqlit3/tests/hbmk_vc.bat
- contrib/hbtip/tests/bld_b32.bat
- contrib/hbtip/tests/bld_vc.bat
+ contrib/hbtip/tests/hbmk_b32.bat
+ contrib/hbtip/tests/hbmk_vc.bat
- contrib/hbtpathy/tests/bld_b32.bat
- contrib/hbtpathy/tests/bld_vc.bat
+ contrib/hbtpathy/tests/hbmk_b32.bat
+ contrib/hbtpathy/tests/hbmk_vc.bat
- contrib/hbvpdf/tests/bld_b32.bat
- contrib/hbvpdf/tests/bld_vc.bat
+ contrib/hbvpdf/tests/hbmk_b32.bat
+ contrib/hbvpdf/tests/hbmk_vc.bat
- contrib/hbwhat/tests/bld_b32.bat
- contrib/hbwhat/tests/bld_vc.bat
+ contrib/hbwhat/tests/hbmk_b32.bat
+ contrib/hbwhat/tests/hbmk_vc.bat
- contrib/hbwin/tests/bld_b32.bat
- contrib/hbwin/tests/bld_vc.bat
+ contrib/hbwin/tests/hbmk_b32.bat
+ contrib/hbwin/tests/hbmk_vc.bat
- contrib/hbziparc/tests/bld_b32.bat
- contrib/hbziparc/tests/bld_vc.bat
+ contrib/hbziparc/tests/hbmk_b32.bat
+ contrib/hbziparc/tests/hbmk_vc.bat
- contrib/rddado/tests/bld_b32.bat
- contrib/rddado/tests/bld_vc.bat
+ contrib/rddado/tests/hbmk_b32.bat
+ contrib/rddado/tests/hbmk_vc.bat
- contrib/rddads/tests/bld_b32.bat
- contrib/rddads/tests/bld_vc.bat
+ contrib/rddads/tests/hbmk_b32.bat
+ contrib/rddads/tests/hbmk_vc.bat
- contrib/rddsql/tests/bld_b32.bat
- contrib/rddsql/tests/bld_vc.bat
+ contrib/rddsql/tests/hbmk_b32.bat
+ contrib/rddsql/tests/hbmk_vc.bat
- contrib/xhb/tests/bld_b32.bat
- contrib/xhb/tests/bld_vc.bat
+ contrib/xhb/tests/hbmk_b32.bat
+ contrib/xhb/tests/hbmk_vc.bat
- tests/bld_b32.bat
- tests/bld_b32_dll.bat
- tests/bld_gnu.bat
- tests/bld_vc.bat
+ tests/hbmk_b32.bat
+ tests/hbmk_b32_dll.bat
+ tests/hbmk_gnu.bat
+ tests/hbmk_vc.bat
- utils/hbdoc/bld_b32.bat
- utils/hbdoc/bld_vc.bat
+ utils/hbdoc/hbmk_b32.bat
+ utils/hbdoc/hbmk_vc.bat
- utils/hbmake/bld_b32.bat
- utils/hbmake/bld_vc.bat
+ utils/hbmake/hbmk_b32.bat
+ utils/hbmake/hbmk_vc.bat
* bld*.bat -> hbmk*.bat
* contrib/mtpl_b32.mak
* /P32 -> /P64
+ contrib/hbmsql/tests/hbmk_b32.bat
+ contrib/hbmsql/tests/hbmk_vc.bat
+ Added make files.
- contrib/hbclip
- Removed this contrib. It was incomplete and not
updated since 2001.
|
||
|
|
8b095d9c56 |
2008-11-09 14:23 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* tests/longstr.prg
* contrib/hbole/oleauto.prg
* contrib/hbole/ole2.c
* contrib/gtwvg/wvgutils.c
* contrib/gtwvg/wvgcore.c
* contrib/hbgd/gdbarcod.prg
* contrib/hbgd/gdbar.prg
* contrib/hbwin/win_tole.prg
* contrib/hbwin/win_ole.c
* contrib/hbvpdf/hbvpdf.prg
* contrib/examples/hbsqlit2/tests/hbsqlite.prg
* contrib/examples/hbsqlit2/TODO.txt
* contrib/examples/hbsqlit2/hbsqlit2.c
* source/debug/dbgwa.prg
* source/rtl/gtwin/gtwin.c
* source/rtl/tget.prg
* source/rtl/tgetint.prg
* source/compiler/gencobj.c
! Removed high chars from comments. This usually means
copyright holders' names. I apologize for touching
them, I also have one in mine, but it's better to
not use them in source code to avoid encoding problems.
|
||
|
|
9712dcddbf |
2008-11-05 19:36 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* contrib/examples/dbu/bld_b32.bat
* contrib/examples/dbu/bld_vc.bat
* utils/hbdoc/bld_b32.bat
* utils/hbdoc/bld_vc.bat
* utils/hbmake/bld_b32.bat
* utils/hbmake/bld_vc.bat
* Minor cleanups.
; NOTE: Win9x support for BCC files is now dropped.
|
||
|
|
ccd1a88f7b |
2008-11-05 19:16 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* bin/hb-func.sh
* include/hbstdgen.ch
* include/hbver.h
* contrib/examples/pp/pp.c
* source/pp/ppcore.c
* source/pp/hbpp.c
* source/common/hbver.c
* HB_VER_REVISION -> HB_VER_RELEASE.
INCOMPATIBLE.
|
||
|
|
f424b51417 |
2008-10-28 09:44 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* contrib/examples/guestbk/inifiles.prg
* contrib/examples/guestbk/testcgi.prg
* contrib/examples/guestbk/guestbk.prg
* contrib/examples/guestbk/bld_b32.bat
* contrib/examples/guestbk/bld_vc.bat
* contrib/examples/pe/bld_b32.bat
* contrib/examples/pe/bld_vc.bat
* contrib/examples/pe/editorhi.prg
* Minor updates, optimizations.
* source/rtl/version.c
% Using better method to return HB_V_BITWIDTH.
* utils/hbtest/rt_str.prg
! Changed to use 'hb_version( HB_V_BITWIDTH ) >= 64'
instead of #ifdef __ARCH64BIT__.
|
||
|
|
c4636942ec |
2008-10-27 21:43 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* contrib/Makefile
* contrib/make_vc_all.bat
* contrib/make_b32_all.bat
* contrib/make_gcc_all.sh
+ Added rddsql to default builds.
Please test.
* contrib/hbdbgfx/dbgfxc.c
* Added TODO. (multiplatform support in one the functions)
* include/hbsetup.h
* include/hbexprb.c
* contrib/hbct/ctnet.c
* contrib/hbct/color.c
* contrib/hbct/dattime2.c
* contrib/xhb/hboutdbg.c
* contrib/hbtpathy/tpwin32.c
* contrib/hbmzip/hbmzip.c
* contrib/hbsqlit3/hbsqlit3.c
* contrib/hbfbird/firebird.c
* contrib/hbziparc/hbzipcpp.old
* contrib/hbnf/getver.c
* contrib/hbpgsql/postgres.c
* contrib/hbclipsm/gauge.c
* contrib/rddads/adsfunc.c
* contrib/rddads/ads1.c
* contrib/hbgd/gdwrp.c
* contrib/hbmisc/spd.c
* contrib/hbtip/utils.c
* contrib/hbwin/win_prt.c
* contrib/examples/pp/hbppcore.c
* contrib/examples/pp/hbppcomp.c
* source/pp/pplib.c
* source/pp/ppcore.c
* source/pp/hbpp.c
* source/vm/estack.c
* source/vm/debug.c
* source/vm/itemapi.c
* source/vm/hvm.c
* source/vm/cmdarg.c
* source/vm/fm.c
* source/vm/extrap.c
* source/vm/classes.c
* source/main/harbour.c
* source/common/hbver.c
* source/common/hbverdsp.c
* source/common/hbstr.c
* source/common/hbdate.c
* source/rtl/gtxwc/gtxwc.c
* source/rtl/hbgtcore.c
* source/rtl/gtcrs/gtcrs.c
* source/rtl/errorint.c
* source/rtl/gtsln/gtsln.c
* source/rtl/gttrm/gttrm.c
* source/rtl/gtpca/gtpca.c
* source/rtl/fkmax.c
* source/rtl/langapi.c
* source/rtl/hbffind.c
* source/rdd/workarea.c
* source/rdd/sdf1.c
* source/rdd/delim1.c
* source/rdd/dbf1.c
* source/rdd/wafunc.c
* source/compiler/hbmain.c
* source/compiler/cmdcheck.c
* source/compiler/hbpcode.c
* source/compiler/genhrb.c
* source/compiler/gencobj.c
* source/compiler/genobj32.c
* source/compiler/genc.c
* source/compiler/hbusage.c
* source/compiler/hbfunchk.c
* source/compiler/hbgenerr.c
* utils/hbmake/hbmgauge.c
* Changed snprintf() calls to hb_snprintf().
; TODO: Finish the mappings in headers.
* tests/wvtext.prg
* include/inkey.ch
* source/rtl/gtwvt/gtwvt.c
* Changed K_HB_RESIZE to HB_K_RESIZE. The reason is
that we already got a HB_K_MULTICODE code (few lines
below, I didn't know about it before), and it's better
to keep consistency with that.
|
||
|
|
8a905fadd5 |
2008-10-19 09:16 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* common.mak
* contrib/mtpl_b32.mak
* contrib/mtpl_gcc.mak
* contrib/mtpl_vc.mak
+ Made -gc3 switch the default. This will result in
noticeably faster .prg code execution at the cost of
a slightly bigger executable. Speaking of the core,
this can result at maximum 250K of extra executable
size increase, if the final executable uses _all_
core .prg functions. Usually though it's much lower
than that, especially for GUI programs, since the
majority of core .prg code deals with CUI elements,
like TBrowse(), TGet(), 5.3 compatible CUI controls,
.frm and .lbl support, MemoEdit().
* contrib/examples/dbu/bld_b32.bat
* contrib/examples/dbu/bld_vc.bat
* utils/hbdoc/bld_vc.bat
* utils/hbdoc/bld_b32.bat
* utils/hbmake/bld_b32.bat
* utils/hbmake/bld_vc.bat
+ Added -l Harbour switch.
|
||
|
|
a0bf4555ef |
2008-10-18 16:15 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
- bin/bld.bat
+ bin/hbmk.bat
- bin/bld_os2.cmd
+ bin/hbmk_os2.cmd
- bin/bld_b32.bat
+ bin/hbmk_b32.bat
- bin/bld_vc.bat
+ bin/hbmk_vc.bat
* tests/bld_b32.bat
* tests/bld_vc.bat
* contrib/hbmysql/tests/bld_b32.bat
* contrib/hbmysql/tests/bld_vc.bat
* contrib/hbct/tests/bld_b32.bat
* contrib/hbct/tests/bld_vc.bat
* contrib/xhb/tests/bld_b32.bat
* contrib/xhb/tests/bld_vc.bat
* contrib/hbodbc/tests/bld_b32.bat
* contrib/hbodbc/tests/bld_vc.bat
* contrib/hbtpathy/tests/bld_b32.bat
* contrib/hbtpathy/tests/bld_vc.bat
* contrib/hbmzip/tests/bld_b32.bat
* contrib/hbmzip/tests/bld_vc.bat
* contrib/hbole/tests/bld_b32.bat
* contrib/hbole/tests/bld_vc.bat
* contrib/hbsqlit3/tests/bld_b32.bat
* contrib/hbsqlit3/tests/bld_vc.bat
* contrib/hbapollo/tests/bld_b32.bat
* contrib/hbapollo/tests/bld_vc.bat
* contrib/hbfbird/tests/bld_b32.bat
* contrib/hbfbird/tests/bld_vc.bat
* contrib/hbziparc/tests/bld_b32.bat
* contrib/hbziparc/tests/bld_vc.bat
* contrib/hbnf/tests/bld_b32.bat
* contrib/hbnf/tests/bld_vc.bat
* contrib/hbcurl/tests/bld_b32.bat
* contrib/hbcurl/tests/bld_vc.bat
* contrib/hbhpdf/tests/bld_b32.bat
* contrib/hbhpdf/tests/bld_vc.bat
* contrib/rddado/tests/bld_b32.bat
* contrib/rddado/tests/bld_vc.bat
* contrib/gtwvg/tests/bld_vc.bat
* contrib/gtwvg/tests/bld_b32.bat
* contrib/hbpgsql/tests/bld_b32.bat
* contrib/hbpgsql/tests/bld_vc.bat
* contrib/hbclipsm/tests/bld_b32.bat
* contrib/hbclipsm/tests/bld_vc.bat
* contrib/rddads/tests/bld_b32.bat
* contrib/rddads/tests/bld_vc.bat
* contrib/hbfimage/tests/bld_b32.bat
* contrib/hbfimage/tests/bld_vc.bat
* contrib/hbgd/tests/bld_vc.bat
* contrib/hbgd/tests/bld_b32.bat
* contrib/hbmisc/tests/bld_b32.bat
* contrib/hbmisc/tests/bld_vc.bat
* contrib/hbgf/tests/bld_b32.bat
* contrib/hbgf/tests/bld_vc.bat
* contrib/hbtip/tests/bld_vc.bat
* contrib/hbtip/tests/bld_b32.bat
* contrib/hbwin/tests/bld_b32.bat
* contrib/hbwin/tests/bld_vc.bat
* contrib/hbvpdf/tests/bld_b32.bat
* contrib/hbvpdf/tests/bld_vc.bat
* contrib/hbwhat/tests/bld_b32.bat
* contrib/hbwhat/tests/bld_vc.bat
* contrib/examples/hbsqlit2/tests/bld_b32.bat
* contrib/examples/hbsqlit2/tests/bld_vc.bat
* Renamed bin\bld*.* files to bin\hbmk*.*. This
dir may be put in the path in user environments,
so it's necessary to put the name into the Harbour
namespace. The new name is also the one supported
on *nix/bash platforms, albeit with slightly
different usage.
INCOMPATIBLE. Please update your environment.
To achieve compatbility with older Harbour versions
and xhb, you can locally add a bld.bat file with
the content: '@call hbmk.bat %1 %2 %3 %4 %5 %6 %7 %8 %9'
* source/common/hbgete.c
* Minor.
|
||
|
|
c9dc573359 |
2008-10-14 19:23 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* include/hbextern.ch
+ Added hb_macroBlock()
* source/rtl/langapi.c
* One error text changed to be more precise.
* doc/gmake.txt
* bin/bld.bat
* contrib/hbbtree/tests/bld_vc.bat
* contrib/examples/pp/bld_vc.bat
* contrib/examples/guestbk/bld_vc.bat
* contrib/examples/pe/bld_vc.bat
* contrib/examples/dbu/bld_vc.bat
* contrib/examples/hscript/bld_vc.bat
* utils/hbdoc/bld_vc.bat
* utils/hbmake/bld_vc.bat
* utils/hbmake/hbmake.prg
- Removed MSVC -TP switches.
|
||
|
|
40f6d73c31 |
2008-10-14 08:44 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* contrib/examples/dbu/bld_vc.bat
! Removed -TP C option.
|
||
|
|
119d2d17eb |
2008-10-08 20:33 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* contrib/examples/hscript/hscript.prg
* source/compiler/gencobj.c
* source/compiler/genobj32.c
* Formatting, minor cleanups.
|
||
|
|
ffd9b480a4 |
2008-10-02 14:33 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/include/hbstack.h
% enable assembler inline function to access HVM thread stack pointer
without native compiler TLS support even if HB_STACK_PRELOAD is not
defined in MinGW builds. It gives some additional small speed
improvement in MT mode
* harbour/source/rtl/idle.c
* unlock HVM inside hb_releaseCPU() function
* harbour/contrib/hbwin/win_ole.c
! fixed casting and C++ compilation in some compilers
* harbour/include/Makefile
+ harbour/contrib/examples/rdddbt/hbrdddbt.h
- harbour/include/hbrdddbt.h
! moved hbrdddbt.h to correct location
* harbour/include/Makefile
! added missinf hbthread.h
* harbour/tests/rddtest/rddmktst.prg
* harbour/tests/rddtest/adscl52.prg
* harbour/tests/rddtest/adscl53.prg
* harbour/tests/rddtest/ntxcl52.prg
* harbour/tests/rddtest/ntxcl53.prg
* harbour/tests/rddtest/cdxcl52.prg
* harbour/tests/rddtest/rddtst.prg
* harbour/tests/rddtest/cdxcl53.prg
! fixed description in header I wrongly copied without updating
from other files
+ harbour/tests/hsxtest.prg
+ added test code for HiPer-SEEK indexes
* harbour/source/rtl/filesys.c
+ added new functions: hb_fsExtName(), hb_fsReadAt(), hb_fsWriteAt(),
hb_fsTruncAt() to use with shared file handles.
Please test it in other *nixes. I used pread[64]()/pwrite[64]()
POSIX functions but I do not know if they are available by default
in other supported platforms like MacOSX, BSD, HPUX, SunOS.
If not they I will have to implement some workaround.
* harbour/common.mak
* harbour/source/rtl/Makefile
* harbour/include/hbapifs.h
+ harbour/source/rtl/filebuf.c
+ added set of new file functions (hb_file*()) which are designed to
use with shared file handles and locks (buffers in the future):
hb_fileExtOpen(), hb_fileCreateTemp(), hb_fileClose(), hb_fileLock(),
hb_fileReadAt(), hb_fileWriteAt(), hb_fileTruncAt(), hb_fileSize(),
hb_fileCommit(), hb_fileHandle()
These functions operate on PHB_FILE structure instead of HB_FHANDLE.
Now in POSIX systems they share file handle between aliased or
simultaneously open by other thread work areas. It resolves the
problem with releasing all process FCNTL locks by any close()
operation even on duplicated or open() separately handle.
Now DOS deny flags emulation works in single process even if
BSD locks are disabled (non Linux *nixes).
They also keep internal file lock list what allows to synchronize
threads and aliases with file locks in POSIX systems. In the future
it will be used also for internal locking to synchronize threads
without OS level locks - pseudo exclusive mode in cloned WA.
Finally these structures will be used also for file buffers
which will be shared between aliased WA and threads.
* harbour/include/hbrdddbf.h
* harbour/include/hbrddcdx.h
* harbour/include/hbrddntx.h
* harbour/include/hbrdddel.h
* harbour/include/hbrddsdf.h
* harbour/source/rdd/dbf1.c
* harbour/source/rdd/delim1.c
* harbour/source/rdd/sdf1.c
* harbour/source/rdd/dbffpt/dbffpt1.c
* harbour/source/rdd/dbfntx/dbfntx1.c
* harbour/source/rdd/dbfcdx/dbfcdx1.c
* harbour/source/rdd/hsx/hsx.c
* harbour/contrib/hbbmcdx/bmdbfcdx.c
* harbour/contrib/hbbmcdx/hbbmcdx.h
* use PHB_FILE and hb_file*() functions instead of HB_FHANDLE (hb_fs*())
to access files.
+ harbour/tests/aliaslck.prg
+ added test code for file lock synchronization between aliased
work areas
|
||
|
|
64f97582d9 |
2008-09-13 18:49 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/include/hbpp.h
* harbour/include/hbvm.h
* harbour/include/hbcomp.h
* harbour/include/hbcompdf.h
* harbour/include/hbtrace.h
* harbour/include/hbapilng.h
* harbour/include/hbinit.h
* harbour/source/rtl/langapi.c
* harbour/source/pp/ppcore.c
* harbour/source/pp/hbpp.c
* harbour/source/vm/itemapi.c
* harbour/source/vm/hvm.c
* harbour/source/common/hbver.c
* harbour/source/common/hbtrace.c
* harbour/source/common/expropt2.c
* harbour/source/compiler/complex.c
* harbour/source/compiler/hbident.c
* harbour/source/compiler/hbfunchk.c
* changed some declarations from 'char *' to 'const char *' and
fixed casting for some more pedantic compilers
* harbour/source/pp/ppcore.c
! fixed one typo which could cause memory leak and even GPF
* harbour/common.mak
* harbour/source/vm/Makefile
* harbour/source/rtl/Makefile
- harbour/source/rtl/set.c
+ harbour/source/vm/set.c
* harbour/include/hbstack.h
* harbour/source/vm/estack.c
* moved from RTL to HVM
* eliminated hb_set global structure
* moved set structure to HVM stack
+ added internal function hb_setClone() which is used to create
copy of SET structure for child threads
* hidden HB_SET_STRUCT declaration - 3-rd part code must not access it
directly. Dedicated hb_set*() functions should be used instead.
+ added new function:
BOOL hb_setSetItem( HB_set_enum set_specifier, PHB_ITEM pItem )
which allow to change some set by 3-rd party code.
TODO: not all SETs can be changed yet - if someone have a while
then please add code for missing ones.
* harbour/include/set.ch
* harbour/include/hbset.h
+ added _SET_CODEPAGE which works like _SET_LANGUAGE giving common
interface
* harbour/include/hbsetup.h
+ added HB_CODEPAGE_DEFAULT which works like HB_LANG_DEFAULT
* harbour/source/vm/hvm.c
! fixed builds which uses non EN lang or code page modules
by forcing linking the chosen ones
* harbour/include/hbstack.h
* harbour/source/vm/estack.c
* harbour/include/hbapicdp.h
* harbour/source/rtl/cdpapi.c
- removed global code page variable: hb_cdp_page and moved
code page settings to HVM stack
+ added new function hb_cdpID() which returns current code page
character ID
+ added new functions hb_vmCDP() and hb_vmSetCDP() to get/set
active for given thread code page structure
* harbour/include/hbstack.h
* harbour/source/vm/estack.c
* harbour/include/hbapilng.h
* harbour/source/rtl/langapi.c
+ moved lang setting to HVM stack
+ added new functions hb_vmLang() and hb_vmSetLang() to get/set
active for given thread language module
* harbour/include/hbvmpub.h
* harbour/include/hbstack.h
* harbour/include/hbapi.h
* harbour/source/vm/estack.c
* harbour/source/vm/dynsym.c
* harbour/source/vm/itemapi.c
* harbour/source/vm/memvars.c
* changed memvar handles for HB_HANDLE to void * which is directly
casted to PHB_ITEM - new memvar references
* changed HB_DYNS declarations for MT mode. In MT mode HB_DYNS does
not contain area and memvar handles which are moved to thread
local HVM stack
+ added array for thread local memvar and area handles to HVM stack
% eliminated global continues array with all memvars and detached locals
% changed HB_IT_MEMVAR to use pointers to HB_ITEM directly - it resolve
synchronization problems in MT mode and should also improve the speed
and reduce memory usage. It should be well visible in applications which
uses lot of detached locals.
- removed hb_memvarsInit() and hb_memvarsFree() - they are not necessary
now because we do not longer use array with all allocated memvars
and detached local and private stack initialization is made
automatically
+ added internal functions hb_dynsymGetMemvar()/hb_dynsymSetMemvar()
+ added hb_memvarGetValueBySym() for debugger
* moved PRIVATE variable stack to HVM stack
* eliminated all static variables in memvars module
* harbour/include/hbstack.h
* harbour/source/vm/estack.c
* harbour/source/rtl/fserror.c
* moved IO errors to HVM stack
+ added special IO error handling which works without HVM stack
It allows to use hb_fs*() functions without allocated stack
by 3-rd party threads.
* harbour/source/rtl/filesys.c
* moved hb_fsCurDir() to HVM stack with special handling to work
with HVM stack like IO errors
* harbour/source/rdd/workarea.c
* allocated RDD node array in bigger peaces to reduce later RT
reallocations in MT mode. If user want to add dynamically more
then 64 RDDs then it should synchronize this operation himself.
* harbour/source/rdd/wacore.c
* moved WA list, current WA, default RDD and neteer() flag to HVM stack
* harbour/include/hbdefs.h
- removed HB_HANDLE declaration
* harbour/include/hbapi.h
- removed HB_VALUE structure - it's not longer used due to different
memvar handling
* updated hb_struMemvar to new memvar handling
* replaced hb_vmIsLocalRef() and hb_memvarsIsMemvarRef() with
hb_vmIsStackRef() which respect multiple stack and new memvar
and static structures and location in GC mark pass.
* harbour/include/hbstack.h
* harbour/source/vm/estack.c
* harbour/source/vm/hvm.c
+ added support for thread specific data located on HVM stack
Now it's possible to allocate static variables which are
local to thread. Such variables are allocated on HVM stack
and automatically destroyed. To declare new TSD variable use:
HB_TSD_NEW( <name>, <size>, <init>, <destruct> )
<name> - name of variable which holds TSD handler
<size> - size of TSD are which has to be allocated
<init> - init function, executed when new TSD is allocated by thread
(thread access given TSD 1-st time). This function receives
void * pointer to allocated area.
<destruct> - destructor function executed when HVM stack is destroyed
f.e.:
static HB_TSD_NEW( s_scrData, sizeof( HB_SCRDATA ),
NULL, hb_xSaveRestRelease );
To initialize dynamically allocated TSD variable use:
HB_TSD_INIT( <name>, <size>, <init>, <destruct> )
Pointer to TSD can be accessed using hb_stackGetTSD( &<name> )
where <name> is name of variable which holds TSD handler, f.e.:
PHB_SCRDATA pScrData = ( PHB_SCRDATA ) hb_stackGetTSD( &s_scrData );
See source/rtl/xsavescr.c as an example
It's also possible to test if data has been already allocated for
current thread by:
hb_stackTestTSD( &<name> ) => pData
it works like hb_stackGetTSD() but return NULL if current thread data
has not been allocated yet.
* harbour/include/hbstack.h
* harbour/source/vm/estack.c
* changed hb_stack location to thread local storage in MT mode
+ added functions and macros to access/assign new HVM stack members
+ changed garbage collection mark functions to work with multiple
stacks, thread local static and memvar variables
* harbour/source/rtl/xsavescr.c
* use TSD data for screen buffer to make __XSAVESCREEN()/__XRESTSCREEN()
thread independent
* harbour/source/rtl/idle.c
* use TSD data for idle task settings and codeblocks
- removed hb_idleShutDown() - it's not longer necessary
* harbour/source/rtl/setkey.c
* use TSD data for allocated keys to make SETKEY() thread independent
* harbour/source/rtl/math.c
* moved math error handler, math error block, math error mode and
math error structure to TSD
* harbour/source/rtl/errorapi.c
* moved error handler, error block, error launch counter and DOS error
value to TSD
* harbour/source/rtl/inkey.c
* moved inkey "before" and "after" blocks to TSD
* harbour/source/rdd/hsx/hsx.c
* moved HSX handles array to TSD
* harbour/include/hbapigt.h
* harbour/source/rtl/console.c
- removed hb_setkeyInit() and hb_setkeyExit() - they are not longer
necessary, allocated resources will be freed by TSD destructor
function
* harbour/include/hbapi.h
* harbour/source/rtl/console.c
* removed hb_conXSaveRestRelease() - it's not longer necessary,
allocated resources will be freed by TSD destructor function
* harbour/source/vm/macro.c
* moved s_macroFlags to TSD
* harbour/source/rtl/accept.c
* moved accept buffer to TSD
* harbour/include/hbcomp.h
* harbour/include/hbcompdf.h
* harbour/include/hbxvm.h
* harbour/source/compiler/hbmain.c
* harbour/source/compiler/hbfix.c
* harbour/source/compiler/hbpcode.c
* harbour/source/compiler/hbdead.c
* harbour/source/compiler/complex.c
* harbour/source/compiler/genc.c
* harbour/source/compiler/gencc.c
* harbour/source/compiler/hbopt.c
* harbour/source/compiler/hblbl.c
* harbour/source/compiler/hbstripl.c
* harbour/source/compiler/harbour.y
* harbour/source/compiler/harbour.yyc
* harbour/source/compiler/harbour.yyh
* harbour/source/vm/hvm.c
+ added new PCODE HB_P_THREADSTATICS
+ added support for static variables which are local to thread:
THREAD STATIC <varname [:= <exp>], ...>
They work like normal static variables but each thread operates
on its own copy.
* added protection against possible double call to hb_xfree()
It can happen due to wrong marking expressions as used by bison
and executing destructors after our free code when syntax error
appear.
* harbour/source/rtl/perfuncs.prg
* harbour/source/rtl/menuto.prg
* harbour/source/rtl/getlist.prg
* harbour/source/rtl/readvar.prg
* harbour/source/rtl/text.prg
* use THREAD STATIC variables to make above code MT safe
* harbour/include/hbgtcore.h
* harbour/source/rtl/hbgtcore.c
+ added hb_gt_BaseFree() which will release current GT pointer
locked by hb_gt_Base() function. This function will be used
to optional automatic GT access synchronization when threads
share the same GT.
* harbour/source/rtl/gtapi.c
* harbour/source/rtl/inkeyapi.c
* harbour/source/rtl/mouseapi.c
* harbour/contrib/hbct/ctwin.c
* free GT pointer by hb_gt_BaseFree()
TODO: CTWIN is not MT safe yet - it will be updated together
with core GT when we add multi window interface for
thread with own console window.
* harbour/bin/hb-func.sh
* harbour/config/linux/gcc.cf
+ added rt lib to Linux builds
* harbour/bin/postinst.sh
* create MT safe version of FM stat library: fmmt
* harbour/bin/pack_src.sh
+ added support for ZIP packing
* harbour/include/hbapi.h
* harbour/include/hbvm.h
* harbour/source/vm/hvm.c
+ added hb_vmThreadInit()/hb_vmThreadQuit() functions - they initialize
HVM for calling thread so it can execute .prg code and call HVM
functions. They can be used by 3-rd party code threads.
+ added hb_vmUnlock()/hb_vmLock() functions which informs that
thread will not operate on HVM structures for some time allowing
to execute single thread only processes like GC.
+ added hb_vmThreadQuitRequest() which sends stop request to given
thread
+ added hb_vmWaitForThreads() which stops main thread execution waiting
for other threads
+ added hb_vmSuspendThreads() and hb_vmResumeThreads() used be GC
to stop all HVM threads before mark/swap scan
+ added linked list of HVM stacks
+ added hb_vmTerminateThreads() used by main HVM thread in QUIT state
* moved EXIT procedures execution from QUIT request to HVM QUIT state
in MT mode. It may effects some non structural code which tries to
access private variables in EXIT functions but it's much cleaner
and understandable for user. Please remember that we guaranties
that ALWAYS code in BEGIN SEQUENCE is _always_ executed even after
HVM QUIT request just like destructs. Personally I think that we
should move EXIT procedures execution also in ST mode.
* changed startup and cleanup code for new internal structures
* changes startup and cleanup code for MT mode
% removed some redundant HB_ITEM type settings
! eliminated non MT safe code which was using reference counters
without protection
* harbour/common.mak
* harbour/source/vm/Makefile
+ harbour/include/hbthread.h
+ harbour/source/vm/thread.c
+ added C level functions to manage threads and synchronization objects
See hbthread.h for detail description. They are based on PTHREAD API
and PTHREAD documentation can be used as reference. I intentionally
keep this list small for easier multiplatform porting.
Now they have been implemented for PTHREADS (POSIX threads supported by
many different OSes), MS-Win32/64 and OS2. The OS2 version is not tested
at all. I do not even know if it can be compiled so please make tests.
I used Internet resources and some part of xHarbour code as documentation
for OS2 MT API. It should be quite easy to add other platforms if necessary.
Harbour core code needs non recursive mutexes, conditional variables and
TLS for one pointer. If platforms does not support conditional variables
(f.e. MS-Win or OS2) then they can be emulated using multistate semaphores.
+ added .prg functions to manage threads and synchronization objects:
hb_threadStart( <@sStart()> | <bStart> [, <params,...> ] ) -> <pThID>
hb_threadJoin( <pThID> [, @<xRetCode> ] ) -> <lOK>
hb_threadDetach( <pThID> ) -> <lOK>
hb_threadQuitRequest( <pThID> ) -> <lOK>
hb_threadWaitForAll() -> NIL
hb_mutexCreate() -> <pMtx>
hb_mutexLock( <pMtx> [, <nTimeOut> ] ) -> <lLocked>
hb_mutexUnlock( <pMtx> ) -> <lOK>
hb_mutexNotify( <pMtx> [, <xVal>] ) -> NIL
hb_mutexNotifyAll( <pMtx> [, <xVal>] ) -> NIL
hb_mutexSubscribe( <pMtx>, [ <nTimeOut> ] [, @<xSubscribed> ] ) -> <lSubscribed>
hb_mutexSubscribeNow( <pMtx>, [ <nTimeOut> ] [, @<xSubscribed> ] ) -> <lSubscribed>
The function list should give similar to xHarbour API but they are not exactly
the same and except of hb_mutex*() functions which should replicate xHarbour behavior.
+ harbour/source/vm/vmmt
+ harbour/source/vm/vmmt/Makefile
+ added hbvmmt library to GNU make builds.
Non GNU make builds should be updated.
* harbour/contrib/hbct/pos1.c
* harbour/contrib/gtwvg/gtwvg.c
* harbour/contrib/rddads/ads1.c
* harbour/contrib/hbmisc/spd.c
* harbour/contrib/hbbmcdx/bmdbfcdx.c
* harbour/contrib/examples/rdddbt/dbfdbt1.c
* harbour/source/vm/runner.c
* harbour/source/vm/itemapi.c
* harbour/source/vm/hvm.c
* harbour/source/rtl/console.c
* harbour/source/rtl/strcase.c
* harbour/source/rtl/spfiles.c
* harbour/source/rtl/defpath.c
* harbour/source/rtl/hbgtcore.c
* harbour/source/rtl/dateshb.c
* harbour/source/rtl/mlcfunc.c
* harbour/source/rtl/fstemp.c
* harbour/source/rtl/is.c
* harbour/source/rtl/setcolor.c
* harbour/source/rtl/errorint.c
* harbour/source/rtl/transfrm.c
* harbour/source/rtl/dates.c
* harbour/source/rtl/filesys.c
* harbour/source/rtl/gtdos/gtdos.c
* harbour/source/rtl/gtwin/gtwin.c
* harbour/source/rtl/gtwvt/gtwvt.c
* harbour/source/rtl/gtxwc/gtxwc.c
* harbour/source/rtl/gttrm/gttrm.c
* harbour/source/rtl/gtpca/gtpca.c
* harbour/source/rtl/gtcgi/gtcgi.c
* harbour/source/rtl/gtcrs/gtcrs.c
* harbour/source/rtl/gtstd/gtstd.c
* harbour/source/rtl/gtsln/gtsln.c
* harbour/source/rtl/gtsln/gtsln.h
* harbour/source/rdd/dbf1.c
* harbour/source/rdd/sdf1.c
* harbour/source/rdd/delim1.c
* harbour/source/rdd/dbcmd.c
* harbour/source/rdd/hbdbsort.c
* harbour/source/rdd/workarea.c
* harbour/source/rdd/dbffpt/dbffpt1.c
* harbour/source/rdd/dbfcdx/dbfcdx1.c
* harbour/source/rdd/dbfntx/dbfntx1.c
* harbour/source/rdd/hsx/hsx.c
* harbour/source/rdd/hbsix/sxfname.c
* use API functions instead of direct accessing to hb_cdp_page or hb_set
* harbour/source/rtl/fstemp.c
* harbour/source/rtl/fssize.c
* harbour/source/rtl/hbffind.c
* harbour/source/rtl/filesys.c
* encapsulate potentially slow IO operation inside
hb_vmUnlock()/hb_vmLock() calls to allow other thread GC
activation
* harbour/contrib/hbnf/fttext.c
! fixed casting
* harbour/contrib/gtwvg/gtwvg.h
- removed #include <comctl32.h> - my MinGW and MinGW/CE instalations do
not have them. If it exists in some newer ones then it has to be
covered by #if version checking.
* harbour/source/vm/dynsym.c
- removed hb_dynsymLog() and hb_dynsymMemvarHandle()
* modified code to be MT safe and improved speed of some operations
* added MUEXT protection for global dynamic table access
* harbour/include/hbapi.h
* harbour/source/vm/garbage.c
* changed to work with MT HVM
* changed to work with new memvar structures and thread local static and
memvar variables
* added MUEXT protection for linked block lists
+ added parameter to hb_gcCollectAll() which will force GC activation
in MT mode by temporary suspending all executed threads.
+ added logical parameter to HB_GCALL() functions which is passed to
hb_gcCollectAll()
* harbour/source/vm/fm.c
* added MUEXT protection for FM statistic module
* added MT protection for reference counters. For platforms
which supports atomic incrmenetation/decrementation (f.e.
Interlocked*() functions in MS-Win) such operations are
used. For other it's MUTEX protection. It gives MT safe
readonly access for HVM complex variables without user
synchronization. The MUTEX protection can cause some speed
overhead so it's good to define MT safe version of
HB_ATOM_INC()/HB_ATOM_DEC() in hbthread.h if given platform
has them. Now they are defined only for Windows. For other
platforms We can define can define them in assembler for some
most popular CPUs in the future.
* harbour/source/vm/classes.c
* changed class definition array. Now it keeps pointers to class
structures.
* In MT mode allocated at HVM startup big enough array for class
definitions to avoid later RT reallocations. It effectively eliminates
MUTEX synchronization for class structure access.
* protect by MUTEX code for new class creation
* harbour/source/debug/dbgentry.c
* eliminated hbvmopt.h and direct accessing to HVM structures
* harbour/source/rtl/gtclip.c
* protect with MUTEX access to internal clipboard data
* harbour/source/rdd/nulsys/nulsys.c
+ added hb_rddCloseAll()
+ harbour/tests/mt
+ harbour/tests/mt/mttest01.prg
+ harbour/tests/mt/mttest02.prg
+ harbour/tests/mt/mttest03.prg
+ harbour/tests/mt/mttest04.prg
+ harbour/tests/mt/mttest05.prg
+ harbour/tests/mt/mttest06.prg
+ harbour/tests/mt/mttest07.prg
+ added some demonstration/test small MT programs written
using Harbour language. Some of them can be also compiled
by xHarbour but xHarbour does not pass any of my tests in
real multi-CPU machine so do not expect they will work
correctly.
Harbour threads needs OS threads support. Each Harbour thread is directly
mapped to OS thread. It's not very efficient on some older system where
cost of thread creation and/or task switching is very expensive but it
should not be bigger problem for modern OS-es which can support threads
in practice nearly in user space only.
I haven't touched Harbour function calling convention which comes from
Clipper. It means that we do not pass pointer to VM to each functions
like CLIP or xBase++. To resolve the problem I have to use thread local
storage (TLS) where such pointer is kept. If platform does not support
TLS then it can be emulated by us. Anyhow the speed of accessing TLS
data and extracting HB_STACK poitner is critical for performance.
Some compilers depending on used hardware and OS give native support
for TLS (f.e. __thread keyword in GCC/BCC or __declspec( thread ) in MSVC).
This should give optimal performance. On other Harbour uses TLS functions
like TlsGetValue() (MS-WIN) or pthread_getspecific() (PTHREAD) are used.
OS2 gives quite interesting TLS functionality which seems to be quite fast
though it will be interesting to know how it is iplemented internally for
real multi CPU machines (if it depends on CPU exception then the
performance will be bad). We need TLS only for one pointer to HB_STACK
structure.
I haven't added any tricks like HB_THREAD_STUB in xHarbour to reduce
the cost of TLS access. If it will be necessary for some platform the we
can add it.
Except TLS Harbour threads needs OS support for non recursive mutexes or
critical sections and conditional variables. If platforms does not support
conditional variables (f.e. MS-Win or OS2) then they can be emulated using
multistate semaphores. I intentionally didn't create code which may need
recursive mutexes. The non recursive ones are often faster and some
platforms may not support recursive mutexes so they will have to be
emulated by us.
Harbour uses reference counters for complex variables. It means that even
readonly access to complex item causes internal write operations necessary
to increment/decrement its reference counter. To make such readonly access
MT safe we have to make incrementation and decrementation with result
checking atomic. By default it's done by mutex inside vm/fm.c but some
platforms have native support for atomic inc/dec operations, f.e.
Interlocked*() functions in MS-Win. If they are available then such
functions should be used to not reduce the performance by mutex call
very often used functions. For many CPUs it should be quite easy to
implement such atomic inc/dec functionality in assembler. F.e. for
GCC and x86@32 it may looks like:
static __inline__ void hb_atomic_inc32( volatile int * p )
{
__asm__ __volatile__(
"lock incl %0"
:"=m" (*p) :"m" (*p)
);
}
static __inline__ int hb_atomic_dec32( volatile int * p )
{
unsigned char c;
__asm__ __volatile__(
"lock decl %0"
"sete %1"
:"=m" (*p), "=qm" (c) :"m" (*p) : "memory"
);
return c == 0;
}
and then it's enough to define in hbthreads.h:
#define HB_ATOM_INC( p ) hb_atomic_inc32( ( volatile int * ) p )
#define HB_ATOM_DEC( p ) hb_atomic_dec32( ( volatile int * ) p )
Probably I'll make it for some most popular CPUs in the future.
In Harbour each thread which wants to call HVM functions have to allocate
it's own HVM stack. It's done hb_vmThreadInit(). The HVM stack is freed
by calling hb_vmThreadQuit(). This functions can be called also by 3-rd
party threads if they want to call HVM functions or execute .prg code.
Calling HVM functions without allocated stack will cause GPF.
I moved most of static variables to HVM stack to make them thread
local. But some of them like FS errors have their own alternative
copy which is used when thread does not allocate HVM stack. It allows
to use hb_fs*() functions without HVM stack but programmer have to
know that error codes return by hb_fs*Error() functions can be
overwritten by other threads which also didn't allocated HVM stack.
To execute garbage collector scan and mark pass it's necessary to
stop other HVM threads. Otherwise the scan may give false results.
It's also possible to not stop threads but protect with mutex all
operations on GC items but it will probably cause performance reduction
and will force some other modifications. Maybe I'll implement it
in the future.
I didn't use any OS level thread KILL or CANCEL calls. All HVM threads
have to be cleanly removed without any resource leaks.
QUIT command terminate only calling thread. If main (startup) HVM
thread call QUIT then it sends QUIT request to all existing threads.
In QUIT state ALWAYS statements and destructors are executed.
New thread is created by:
hb_threadStart( <@sStart()> | <bStart> [, <params,...> ] ) -> <pThID>
The returned value is a pointer to internal thread structure which
can be used in JOIN or DETACH operations. Each thread should be Joined
or DETACHED to avoid resource leaks. If programmer does not store
<pThID> or all instances of <pThID> are destroyed then thread is
automatically detached. I do not know clear method of thread detaching
in OS2. If some OS2 users knows it then plase update vm/hbthread.c.
When thread terminates then all locked by this thread mutexes are
released.
Each thread uses its own memvars (PRIVATEs and PUBLICs) and work areas.
When new thread is created then it inherits from parent thread:
- code page
- language
- SETs
- default RDD
error block is initialized to default value by calling ERRORSYS()
and PUBLIC variable GetList := {} is created.
The following objects are initialized to default value:
- error block
- math error handler and math error block
- macro compiler features setting (hb_setMacro())
or move them to SETs.
We can think about inheriting them. It's also possible to add
inheriting of all visible memvars but I do not know it's good
idea.
Compilation and linking:
For MT mode HVM library should be compiled with HB_MT_VM macro.
GNU make automatically creates hbvmmt library which should be
linked with Harbour MT programs instead of hbvm.
Non GNU make files should be updated.
If given compiler support TLS then you can try to set HB_USE_TLS
to force using native compiler TLS support. Now it's enabled by
default only for BCC. For Linux and GCC builds it may depend also
on used GLIBC version. In older system there is no TLS support
at all or TLS works only for shared binaries so I haven't enabled
it. If you will test some other compiler then please add default
native TLS support for them in hbthread.h
Users using hb* scripts can simply use -mt switch when they want
to create MT program, f.e.:
hbmk -n -w3 -es2 -mt mttest01.prg
There are still some minor things which should be done but I'll
do them later. Current state seems to be fully functional.
The most important and still missing is our own file lock server
for RDD synchronization in POSIX systems. Kernel internally
recognize POSIX locks by PID and file i-node - not PID and file
handle. It means that the same file open more then once by one
process shares locks. Because POSIX locks can be overwritten
then we do not have any synchronization between aliased workareas
or threads using the same table in *nixes. We have to make
synchronization ourselves. I'll create such lock server ASAP.
Please test and enjoy using Harbour threads.
|
||
|
|
1a0fe3ae19 |
2008-09-10 09:46 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* doc/whatsnew.txt
+ Updated.
* contrib/Makefile
* contrib/make_b32_all.bat
* contrib/make_gcc_all.sh
* contrib/make_vc_all.bat
- contrib/hbwhat32
+ contrib/hbwhat
* Renamed to not contain '32'.
; NOTE: I plan to do this with a couple of other
names too in the future.
* contrib/hbwhat/Makefile
* contrib/hbwhat/common.mak
- contrib/hbwhat/what32.ch
+ contrib/hbwhat/hbwhat.ch
* Renamed what32.ch to not contain '32' (and added
hb for consistency if it got renamed anyway).
* utils/hbmake/hbmake.prg
* Updated by Bill Robertson to fix too many things to
mention here. (cleaned up lots of stuff, using hb_run()s
return values, cleaned to not call main() function
recursively (!), display output cleanups, etcetc)
* hbwhat32, hbziparch lib name changes.
* contrib/examples/pp/hbppcore.c
* contrib/examples/pp/hbppcomp.c
* contrib/rddads/ads1.c
* source/pp/ppcore.c
* source/vm/asort.c
* source/vm/hvm.c
* source/rtl/disksphb.c
* source/rdd/dbfntx/dbfntx1.c
* source/rdd/workarea.c
* contrib/hbct/screen2.c
* contrib/hbct/token2.c
* while( TRUE ) -> for( ;; )
* do {} while( TRUE ) -> for( ;; ) {}
; To avoid warnings about conditions being constant.
|
||
|
|
fe2d52337b |
2008-09-06 12:38 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* source/hbpcre/pcre.h
* source/hbpcre/config.h
+ Upgraded PCRE lib to 7.8 release version.
* contrib/hbct/token2.c
* contrib/examples/pp/hbppcore.c
* Minor formatting.
|
||
|
|
d21af17b6d |
2008-09-05 12:01 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* 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]
|
||
|
|
0e8db70888 |
2008-08-31 16:26 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* utils/hbdoc/bld_vc.bat
* utils/hbmake/bld_vc.bat
% Minor cleanup.
* contrib/hbwhat32/whticon.c
* contrib/hbwhat32/whtcret.c
* contrib/hbwhat32/whthead.c
* contrib/hbwhat32/whtmous.c
* contrib/hbwhat32/whtmeta.c
* contrib/hbwhat32/whtrgn.c
* contrib/hbwhat32/whttbar.c
* contrib/hbwhat32/whtrect.c
* contrib/hbwhat32/whtbrsh.c
* contrib/hbwhat32/whtgdi.c
* contrib/hbwhat32/whtview.c
* contrib/hbwhat32/whtlv.c
* contrib/hbwhat32/whtwnd.c
* contrib/hbwhat32/whtcomm.c
* contrib/hbwhat32/whtprn.c
* contrib/hbwhat32/whttab.c
* contrib/hbwhat32/whtfont.c
* contrib/hbwhat32/whtbmp.c
* contrib/hbwhat32/whtpen.c
* contrib/hbwhat32/whtkbrd.c
* contrib/hbwhat32/whttext.c
* contrib/hbwhat32/whtdc.c
* contrib/hbwhat32/whtdraw.c
* contrib/hbnf/fttext.c
* contrib/hbnf/peek.c
* contrib/hbnf/ontick.c
* contrib/hbnf/origin.c
* contrib/hbnf/mouse.c
* contrib/hbnf/poke.c
! Fixed to use Harbour API instead of legacy Clipper API.
+ contrib/hbbtree/tests/bld_b32.bat
+ contrib/hbbtree/tests/bld_vc.bat
+ contrib/hbbtree/tests/bld_djgp.bat
- contrib/hbbtree/tests/mktest.bat
* contrib/hbbtree/tests/ctest.c
+ Added make files.
* Minor cleanups.
; One of the tests fail.
* contrib/hbbtree/tbtree.prg
! Fixed crash due to scope problem in class declaration.
* contrib/examples/pe/editorlo.c
! #include <x> -> #include "x" for Harbour headers.
|
||
|
|
de16b749e3 |
2008-08-27 11:22 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* contrib/examples/rdddbt/dbfdbt1.c
* contrib/gtalleg/gtalleg.c
* contrib/gtwvg/gtwvg.c
* contrib/hbbmcdx/bmdbfcdx.c
* contrib/hbbtree/hb_btree.c
* contrib/hbct/ctwin.c
* contrib/rddads/ads1.c
* source/codepage/cp_tpl.c
* source/codepage/cpbg866.c
* source/codepage/cpbgiso.c
* source/codepage/cpbgmik.c
* source/codepage/cpbgwin.c
* source/codepage/cpcs852.c
* source/codepage/cpcsiso.c
* source/codepage/cpcskam.c
* source/codepage/cpcswin.c
* source/codepage/cpde850.c
* source/codepage/cpdeiso.c
* source/codepage/cpdewin.c
* source/codepage/cpel737.c
* source/codepage/cpelwin.c
* source/codepage/cpes850.c
* source/codepage/cpesmwin.c
* source/codepage/cpeswin.c
* source/codepage/cpfr850.c
* source/codepage/cphr1250.c
* source/codepage/cphr437.c
* source/codepage/cphr852.c
* source/codepage/cphu852.c
* source/codepage/cphu852s.c
* source/codepage/cphuiso.c
* source/codepage/cphuisos.c
* source/codepage/cphuwin.c
* source/codepage/cphuwins.c
* source/codepage/cpit437.c
* source/codepage/cpit850.c
* source/codepage/cpitisb.c
* source/codepage/cpitiso.c
* source/codepage/cpltwin.c
* source/codepage/cppl852.c
* source/codepage/cppliso.c
* source/codepage/cpplmaz.c
* source/codepage/cpplwin.c
* source/codepage/cppt850.c
* source/codepage/cpptiso.c
* source/codepage/cpru866.c
* source/codepage/cpruiso.c
* source/codepage/cprukoi.c
* source/codepage/cpruwin.c
* source/codepage/cpsk852.c
* source/codepage/cpskiso.c
* source/codepage/cpskkam.c
* source/codepage/cpskwin.c
* source/codepage/cpsl437.c
* source/codepage/cpsl852.c
* source/codepage/cpsliso.c
* source/codepage/cpslwin.c
* source/codepage/cpsrwin.c
* source/codepage/cpsv850.c
* source/codepage/cpsvclip.c
* source/codepage/cpsvwin.c
* source/codepage/cptr857.c
* source/codepage/cptrwin.c
* source/codepage/cpua866.c
* source/codepage/cpuakoi.c
* source/codepage/cpuawin.c
* source/lang/msg_tpl.c
* source/lang/msgbe866.c
* source/lang/msgbewin.c
* source/lang/msgbg866.c
* source/lang/msgbgiso.c
* source/lang/msgbgmik.c
* source/lang/msgbgwin.c
* source/lang/msgca.c
* source/lang/msgcs852.c
* source/lang/msgcsiso.c
* source/lang/msgcskam.c
* source/lang/msgcswin.c
* source/lang/msgde.c
* source/lang/msgdewin.c
* source/lang/msgel.c
* source/lang/msgelwin.c
* source/lang/msgeo.c
* source/lang/msges.c
* source/lang/msgeswin.c
* source/lang/msgeu.c
* source/lang/msgfr.c
* source/lang/msggl.c
* source/lang/msghe862.c
* source/lang/msghewin.c
* source/lang/msghr437.c
* source/lang/msghr852.c
* source/lang/msghriso.c
* source/lang/msghrwin.c
* source/lang/msghu852.c
* source/lang/msghucwi.c
* source/lang/msghuiso.c
* source/lang/msghuwin.c
* source/lang/msgid.c
* source/lang/msgis850.c
* source/lang/msgit.c
* source/lang/msgko.c
* source/lang/msgltwin.c
* source/lang/msgnl.c
* source/lang/msgpl852.c
* source/lang/msgpliso.c
* source/lang/msgplmaz.c
* source/lang/msgplwin.c
* source/lang/msgpt.c
* source/lang/msgro.c
* source/lang/msgru866.c
* source/lang/msgrukoi.c
* source/lang/msgruwin.c
* source/lang/msgsk852.c
* source/lang/msgskiso.c
* source/lang/msgskkam.c
* source/lang/msgskwin.c
* source/lang/msgsl437.c
* source/lang/msgsl852.c
* source/lang/msgsliso.c
* source/lang/msgslwin.c
* source/lang/msgsr852.c
* source/lang/msgsriso.c
* source/lang/msgsrwin.c
* source/lang/msgtr857.c
* source/lang/msgtrwin.c
* source/lang/msgua866.c
* source/lang/msguakoi.c
* source/lang/msguawin.c
* source/lang/msgzhb5.c
* source/lang/msgzhgb.c
* source/pp/pplib3.c
* source/rdd/dbf1.c
* source/rdd/dbfcdx/dbfcdx1.c
* source/rdd/dbffpt/dbffpt1.c
* source/rdd/dbfntx/dbfntx1.c
* source/rdd/delim1.c
* source/rdd/sdf1.c
* source/rtl/gt_tpl/gt_tpl.c
* source/rtl/gtcgi/gtcgi.c
* source/rtl/gtcrs/gtcrs.c
* source/rtl/gtdos/gtdos.c
* source/rtl/gtgui/gtdef.c
* source/rtl/gtgui/gtgui.c
* source/rtl/gtos2/gtos2.c
* source/rtl/gtpca/gtpca.c
* source/rtl/gtsln/gtsln.c
* source/rtl/gtstd/gtstd.c
* source/rtl/gttrm/gttrm.c
* source/rtl/gtxwc/gtxwc.c
! Fix for MSVC 64-bit C mode startup procedure.
|
||
|
|
8fc1cbd0c3 |
2008-08-25 23:30 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* doc/cmdline.txt
* doc/hrb_faq.txt
* doc/en/cmdline.txt
* doc/en/dir.txt
* doc/en/file.txt
* doc/en/set.txt
* doc/es/cmdline.txt
* doc/es/dir.txt
* doc/es/file.txt
* doc/whatsnew.txt
* contrib/hbct/disk.c
* contrib/hbodbc/odbc.txt
* contrib/hbwhat32/whtmapi.c
* contrib/hbwhat32/whtsys.c
* contrib/hbwhat32/whtinet.c
* contrib/hbziparch/hbziparc.c
* contrib/hbnf/chdir.c
* contrib/hbnf/tempfile.prg
* contrib/hbnf/ftisprn.c
* contrib/hbnf/getenvrn.c
* contrib/hbnf/mkdir.c
* contrib/hbnf/rmdir.c
* contrib/hbpgsql/readme.txt
* contrib/hbclipsm/environ.c
* contrib/hbclipsm/tests/testenv.prg
* contrib/hbgd/tests/gdtest.prg
* contrib/hbgd/tests/test_out.prg
* contrib/hbgd/tests/gdtestcl.prg
* contrib/hbgd/tests/testdpi.prg
* contrib/hbgd/tests/counter.prg
* contrib/hbtip/thtml.prg
* contrib/hbvpdf/hbvpdf.prg
* contrib/hbvpdf/tests/pdf_demo.prg
* contrib/hbvpdf/hbvpdft.prg
* contrib/examples/guestbk/guestbk.prg
* contrib/examples/pe/editorlo.c
* utils/hbdoc/genos2.prg
* utils/hbdoc/hbdoc.prg
* utils/hbmake/hbmake.prg
! Filename casing fixes. (nothing critical)
|
||
|
|
d5b327f248 |
2008-08-25 20:14 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/contrib/hbw32/w32_ole.c
* removed hack with malloc()/free() directly used to avoid
memory leak reports - it's not necessary in Harbour.
* harbour/contrib/hbfbird/firebird.c
* harbour/contrib/examples/pp/hbppcore.c
! fixed buffer size calculation in hbstrnc*() functions
* harbour/contrib/hbziparch/hbzipnew.cpp
% use hb_strdup() instead of hb_xgrab()/hb_strncpy()
* harbour/contrib/hbnf/getenvrn.c
! use hb_xgrab() instead of hb_xalloc() - the returned value
was not checked and internal error is for sure better then
GPF on NULL pointer
* harbour/source/rdd/dbfntx/dbfntx1.c
! use memcpy() instead of hb_strncpy() to avoid problems when
there is no place for tailing 0
|
||
|
|
55ae11bfcd |
2008-08-24 13:15 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* source/vm/runner.c
* source/vm/fm.c
* source/common/hbver.c
* source/rtl/hbgtcore.c
* source/rtl/gtwvt/gtwvt.c
* source/rdd/dbfntx/dbfntx1.c
* source/rdd/workarea.c
* source/rdd/wacore.c
* source/rdd/sdf1.c
* source/rdd/dbfcdx/dbfcdx1.c
* source/rdd/delim1.c
* source/rdd/dbf1.c
* source/rdd/wafunc.c
* source/rdd/dbffpt/dbffpt1.c
* source/compiler/hbmain.c
* source/compiler/fixflex.c
* source/compiler/gencobj.c
* source/compiler/genc.c
* source/compiler/harbour.yyc
* source/compiler/harbour.y
* contrib/hbct/disk.c
* contrib/hbwhat32/whtcdlg.c
* contrib/gtwvg/gtwvg.c
* contrib/rddads/adsfunc.c
* contrib/rddads/ads1.c
* contrib/hbbmcdx/bmdbfcdx.c
* contrib/examples/pp/hbppcomp.c
* hb_strncpy()/hb_strncat() size parameter changed from
CONSTANT to 'sizeof( dest ) - 1', where applicable.
! hbct/VOLUME() buffer overrun fixed.
; NOTE: dbfntx1.c has a couple of places where I wasn't
sure of the intention, so I left them unchanged.
|
||
|
|
5c3718eeba |
2008-08-23 16:40 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* contrib/hbgt/Makefile
* contrib/hbgt/common.mak
- contrib/hbgt/strdiff.c
+ contrib/hbgt/strdiffg.c
- contrib/hbgt/charmix.c
+ contrib/hbgt/charmixg.c
- contrib/hbgt/asciisum.c
+ contrib/hbgt/asciisgt.c
- contrib/hbgt/ascpos.c
+ contrib/hbgt/ascposgt.c
* contrib/hbgf/hbgfos2/Makefile
- contrib/hbgf/hbgfos2/tmenuitm.prg
+ contrib/hbgf/hbgfos2/tmenuit.prg
! Some files renamed to collide with each other on
non-GNU make systems.
* contrib/examples/hscript/cgi.ch
* contrib/examples/hscript/dir.hs
* contrib/examples/hscript/multiply.hs
* contrib/examples/hscript/ugly.hs
* contrib/examples/hscript/hello.hs
* contrib/examples/guestbk/guestbk.ini
+ Added SVN headers.
+ source/rtl/gtalleg/common.mak
+ source/rtl/gtalleg/make_gcc.sh
+ source/rtl/gtalleg/make_b32.bat
+ source/rtl/gtalleg/make_vc.bat
+ Added non-GNU make file as an ugly hack to
build them on Windows systems.
- tests/altd.prg
+ tests/altdtest.prg
* Rename.
* include/hbver.h
* harbour-ce-spec
* harbour-w32-spec
* harbour.spec
* Version changed to '1.0.1dev'.
Trunk will need to be synced to tag/1.0.
* common.mak
+ Added version to harbour.dll: harbour-101-b32/vc.dll
; Work in progress. Pls comment.
|
||
|
|
23221548b4 |
2008-08-23 11:38 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* source/pp/hbpp.c
* source/vm/cmdarg.c
* source/vm/memvars.c
* source/rtl/dates.c
* source/rtl/fstemp.c
* source/rtl/gtchrmap.c
* source/rtl/gtcrs/gtcrs.c
* source/rtl/gtpca/gtpca.c
* source/rtl/gtstd/gtstd.c
* source/rdd/dbf1.c
* source/rdd/dbfntx/dbfntx1.c
* contrib/hbct/disk.c
* contrib/hbfbird/firebird.c
* contrib/hbw32/w32_ole.c
* contrib/xhb/hboutdbg.c
* contrib/examples/pp/hbppcore.c
* strncpy() -> hb_strncpy()
* strncat() -> hb_strncat()
! In most of these places the terminating zero
was not explicitly set by the caller before.
* contrib/hbnf/getenvrn.c
* contrib/hbw32/dllcall.c
* contrib/hbw32/w32_ole.c
* contrib/hbwhat32/_wincdlg.c
* contrib/hbwhat32/_windll.c
* contrib/hbwhat32/_winmain.c
* contrib/hbziparch/hbzipnew.cpp
! strcpy() -> hb_strncpy()
! strcat() -> hb_strncat()
; TOFIX1: There are still two strcpy()s left in SQL_SPRINTF().
Xavi, could you pls take a look at it?
; TOFIX2: There are still a few strcpy()s in hbwince.c and
dbgentry.c.
* source/pp/hbpp.c
* source/rtl/gtcrs/gtcrs.c
* source/rtl/gtpca/gtpca.c
* source/rtl/gtstd/gtstd.c
* contrib/hbfbird/firebird.c
* contrib/hbwhat32/_wincdlg.c
* contrib/hbwhat32/_windll.c
! Fixed wrong buffer sizes (or no buffer limits) in some
string copy operations (potential buffer overruns).
* contrib/hbnf/getenvrn.c
! Fixed bad leak in FT_GETE() on Win32 systems.
* source/rtl/fstemp.c
! hb_fsTempName(): Fixed potential buffer overrun by one byte.
* Minor formatting.
* source/rtl/fstemp.c
* source/rtl/hbffind.c
* contrib/xhb/hboutdbg.c
* Using sizeof() instead of explicit size in string copy operations.
; TODO: There is a lot more to fix like this.
; Przemek, could you double check these changes pls?
I can send you the .diff if it helps.
|
||
|
|
55801b18c4 |
2008-08-20 12:50 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* tests/longdev.prg
* tests/hbpptest/hbpptest.prg
* tests/testcgi.prg
* tests/foreach.prg
* tests/onidle.prg
* tests/tstchbx.prg
* tests/codebl.prg
* tests/tstdbi.prg
* tests/vmasort.prg
* tests/tstasort.prg
* tests/testbrw.prg
* tests/inkeytst.prg
* tests/testrdd2.prg
* tests/keywords.prg
* tests/testhtml.prg
* tests/readhrb.prg
* tests/stripem.prg
* tests/wvtext.prg
* tests/testpre.prg
* tests/seconds.prg
* tests/fsplit.prg
* tests/mousetst.prg
* contrib/hbmysql/tmysql.prg
* contrib/hbct/numconv.prg
* contrib/hbct/ctmisc.prg
* contrib/hbodbc/todbc.prg
* contrib/hbapollo/tests/apollo.prg
* contrib/hbnf/acctyear.prg
* contrib/hbnf/acctadj.prg
* contrib/hbnf/nwsem.prg
* contrib/hbnf/week.prg
* contrib/hbnf/acctmnth.prg
* contrib/hbnf/savearr.prg
* contrib/hbnf/madd.prg
* contrib/hbnf/mouse1.prg
* contrib/hbnf/month.prg
* contrib/hbnf/findith.prg
* contrib/hbnf/acctweek.prg
* contrib/hbnf/pegs.prg
* contrib/hbnf/acctqtr.prg
* contrib/hbnf/nooccur.prg
* contrib/hbnf/dayofyr.prg
* contrib/hbnf/menu1.prg
* contrib/hbnf/sqzn.prg
* contrib/hbnf/asum.prg
* contrib/hbnf/aavg.prg
* contrib/hbnf/any2any.prg
* contrib/hbnf/adessort.prg
* contrib/hbnf/amedian.prg
* contrib/hbnf/blink.prg
* contrib/hbnf/qtr.prg
* contrib/hbnf/aredit.prg
* contrib/hbnf/xbox.prg
* contrib/hbnf/ftround.prg
* contrib/hbnf/invclr.prg
* contrib/hbnf/tempfile.prg
* contrib/hbnf/diskfunc.prg
* contrib/hbnf/mouse2.prg
* contrib/hbnf/daytobow.prg
* contrib/hbnf/anomatch.prg
* contrib/hbnf/datecnfg.prg
* contrib/hbnf/tbwhile.prg
* contrib/hbnf/year.prg
* contrib/hbnf/elapsed.prg
* contrib/hbnf/dfile.prg
* contrib/hbnf/clrsel.prg
* contrib/hbmisc/twirler.prg
* contrib/hbmisc/fileread.prg
* contrib/hbmisc/stringp.prg
* contrib/hbgf/hbgfw32/winctrl.prg
* contrib/hbgf/hbgfw32/form.prg
* contrib/hbgf/hbgfos2/winctrl.prg
* contrib/hbgf/hbgfos2/tform.prg
* contrib/hbtip/httpcln.prg
* contrib/hbvpdf/hbvpdf.prg
* contrib/hbvpdf/hbvpdft.prg
* contrib/examples/guestbk/guestbk.prg
* contrib/examples/pe/editorhi.prg
* Some more general code cleanups ( if() -> iif() ).
|
||
|
|
5532416d15 |
2008-08-19 11:53 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* config/w32/install.cf
* doc/man/hbdoc.1
* doc/en/tlabel.txt
* doc/en/set.txt
* doc/en/readme.txt
* doc/hbmake.txt
* doc/es/tlabel.txt
* doc/es/rdd.txt
* doc/es/hbpplib.txt
* doc/es/treport.txt
* doc/es/dirstruc.txt
* doc/es/dir.txt
* doc/es/file.txt
* doc/es/readme.txt
* doc/whatsnew.txt
* source/rtl/setkey.c
* source/rtl/tclass.prg
* source/compiler/cmdcheck.c
* contrib/hbmysql/utils/dbf2mysq.prg
* contrib/hbw32ddr/readme.txt
* contrib/hbodbc/odbc.txt
* contrib/hbodbc/readme.txt
* contrib/hbwhat32/_wincdlg.c
* contrib/hbtpathy/ChangeLog
* contrib/hbsqlit2/tests/hbsqlite.prg
* contrib/hbapollo/ChangeLog
* contrib/hbnf/byteneg.prg
* contrib/hbnf/savearr.prg
* contrib/hbnf/fttext.c
* contrib/hbnf/restsets.prg
* contrib/hbnf/byt2bit.prg
* contrib/hbnf/byt2hex.prg
* contrib/hbnf/ftint86.ch
* contrib/hbnf/byteand.prg
* contrib/hbnf/bytexor.prg
* contrib/hbnf/byteor.prg
* contrib/hbnf/origin.c
* contrib/hbnf/bitset.prg
* contrib/hbnf/popadder.prg
* contrib/hbnf/menutonf.prg
* contrib/hbnf/ftattr.c
* contrib/hbnf/isbit.prg
* contrib/hbnf/putkey.c
* contrib/hbnf/getenvrn.c
* contrib/hbnf/bytenot.prg
* contrib/hbnf/savesets.prg
* contrib/hbnf/tbwhile.prg
* contrib/hbnf/ftmenuto.ch
* contrib/hbnf/bitclr.prg
* contrib/hbnf/readme.txt
* contrib/rddads/doc/en/adsfuncs.txt
* contrib/rddads/doc/en/readme.txt
* contrib/rddads/readme.txt
* contrib/hbgd/ChangeLog
* contrib/hbgd/readme.txt
* contrib/hbmisc/hb_f.c
* contrib/hbtip/utils.c
* contrib/hbbtree/doc/hb_btree.txt
* contrib/examples/guestbk/guestbk.txt
* contrib/examples/hscript/readme.txt
* utils/hbdoc/genos2.prg
* utils/hbdoc/genng.prg
* utils/hbdoc/genasc.prg
* utils/hbdoc/genchm.prg
* utils/hbdoc/genhpc.prg
* utils/hbdoc/html.prg
* utils/hbdoc/ft_funcs.prg
* utils/hbdoc/hbdoc.prg
* utils/hbdoc/genpdf1.prg
* utils/hbdoc/gentrf.prg
* utils/hbdoc/genrtf.prg
* utils/hbmake/checks.prg
* utils/hbmake/ft_funcs.prg
* utils/hbmake/radios.prg
* utils/hbmake/hbmake.prg
! Some more filename casing related cleanups.
|
||
|
|
097ae961f2 |
2008-08-17 17:00 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* contrib/examples/guestbk/guestbk.ini
* contrib/examples/guestbk/testcgi.prg
* contrib/examples/hscript/hscript.prg
* contrib/examples/pp/hbppdef.h
* contrib/examples/pp/hbpptbl.c
* contrib/gtwvg/tests/demowvg.prg
* contrib/gtwvg/wvgclass.prg
* contrib/hbapollo/tests/apollo.prg
* contrib/hbgd/ChangeLog
* contrib/hbgt/doc/gendoc.bat
* contrib/hbmisc/doc/gendoc.bat
* contrib/hbvpdf/hbvpdf.prg
* contrib/hbvpdf/hbvpdft.prg
* contrib/hbwhat32/_winclpb.c
* contrib/hbwhat32/_windate.c
* contrib/hbwhat32/_windc.c
* contrib/hbwhat32/_windir.c
* contrib/hbwhat32/_windraw.c
* contrib/hbwhat32/_wingdi.c
* contrib/hbwhat32/_winmisc.c
* contrib/hbwhat32/_winpen.c
* contrib/hbwhat32/_winprn.c
* contrib/hbwhat32/_winrect.c
* contrib/hbwhat32/_winrgn.c
* contrib/hbwhat32/_winsock.c
* contrib/hbwhat32/_wintbar.c
* contrib/hbwhat32/import.ch
* contrib/hbwhat32/sqltypes.ch
* contrib/hbwhat32/windebug.prg
* contrib/hbwhat32/winerror.prg
* contrib/hbwhat32/winini.prg
* contrib/hbwhat32/winrbar.prg
* contrib/hbwhat32/winstruc.ch
* contrib/hbwhat32/wintbar.prg
* contrib/hbziparch/hbziparc.c
* contrib/rddads/doc/gendoc.bat
* doc/cmdline.txt
* doc/dirstruc.txt
* doc/en/cmdline.txt
* doc/en/dbstrux.txt
* doc/en/dir.txt
* doc/en/file.txt
* doc/en/rddord.txt
* doc/es/dbstrux.txt
* doc/es/file.txt
* doc/es/hbpplib.txt
* doc/howtomak.txt
* doc/hrb_faq.txt
* doc/windll.txt
* include/dbinfo.ch
* source/debug/dbghelp.prg
* source/vm/classes.c
* source/vm/hvm.c
* tests/keywords.ch
* tests/output.prg
* tests/statics1.prg
* tests/statics2.prg
* tests/test_all.prg
* tests/testcgi.prg
* tests/testpre.prg
* tests/testrdd2.prg
* utils/hbmake/hbmake.prg
* utils/hbmake/hbmutils.prg
! Some filename casing related fixes, cleanups.
* Some non-ASCII drawing chars in comments changed to ASCII ones.
|
||
|
|
3a41ed1d2b |
2008-08-17 08:59 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* doc/dirstruc.txt
* Updated to reflect current state. [Chen Kedem]
* contrib/examples/pp/hbppcore.c
* contrib/examples/pp/pp.c
* contrib/hbct/disk.c
* contrib/hbct/files.c
* contrib/hbnf/getenvrn.c
* contrib/hbw32/tprinter.c
* contrib/hbziparch/hbxdirec.c
* contrib/hbziparch/hbziparc.c
* contrib/rddads/ads1.c
* contrib/rddads/adsfunc.c
* doc/en/terminal.txt
* include/hb_io.h
* include/hbapifs.h
* include/hbapirdd.h
* include/hbdefs.h
* include/hbsetup.h
* include/hbwince.h
* source/common/hbfsapi.c
* source/compiler/gencobj.c
* source/compiler/hbcomp.c
* source/compiler/hbusage.c
* source/debug/dbgentry.c
* source/main/harbour.c
* source/pp/hbpp.c
* source/pp/ppcore.c
* source/rdd/dbcmd.c
* source/rdd/dbf1.c
* source/rdd/delim1.c
* source/rdd/sdf1.c
* source/rdd/usrrdd/usrrdd.c
* source/rdd/wacore.c
* source/rdd/wafunc.c
* source/rdd/workarea.c
* source/rtl/console.c
* source/rtl/copyfile.c
* source/rtl/defpath.c
* source/rtl/direct.c
* source/rtl/disksphb.c
* source/rtl/file.c
* source/rtl/filesys.c
* source/rtl/fssize.c
* source/rtl/fstemp.c
* source/rtl/gtos2/gtos2.c
* source/rtl/gtpca/gtpca.c
* source/rtl/gtstd/gtstd.c
* source/rtl/gttrm/gttrm.c
* source/rtl/hbffind.c
* source/rtl/hbinet.c
* source/rtl/memofile.c
* source/rtl/philes.c
* source/rtl/seconds.c
* source/rtl/set.c
* source/vm/hvm.c
* source/vm/main.c
* Changed some macros to be in the HB_ namespace, to be
possibly shorter, more unified and clearer.
OS_UNIX_COMPATIBLE -> HB_OS_UNIX_COMPATIBLE
OS_PATH_LIST_SEPARATOR -> HB_OS_PATH_LIST_SEP_CHR
OS_PATH_DELIMITER -> HB_OS_PATH_DELIM_CHR
OS_PATH_DELIMITER_STRING -> HB_OS_PATH_DELIM_STR
OS_PATH_DELIMITER_LIST -> HB_OS_PATH_DELIM_LIST
OS_FILE_MASK -> HB_OS_ALLFILE_MASK
OS_DRIVE_DELIMITER -> HB_OS_DRIVE_DELIM_CHR
OS_HAS_DRIVE_LETTER -> HB_OS_HAS_DRIVE_LETTER
OS_OPT_DELIMITER_LIST -> HB_OS_OPT_DELIM_LIST
OS_EOL_LEN -> HB_OS_EOL_LEN
HARBOUR_GCC_OS2 -> HB_OS_OS2_GCC
HARBOUR_START_PROCEDURE -> HB_START_PROCEDURE
HARBOUR_MAIN_STD -> HB_MAIN_STD
HARBOUR_MAIN_WIN -> HB_MAIN_WIN
HARBOUR_MAX_RDD_DRIVERNAME_LENGTH -> HB_RDD_MAX_DRIVERNAME_LEN
HARBOUR_MAX_RDD_ALIAS_LENGTH -> HB_RDD_MAX_ALIAS_LEN
HARBOUR_MAX_RDD_AREA_NUM -> HB_RDD_MAX_AREA_NUM
; INCOMPATIBLE change, please update your sources, a simple
case-sensitive search and replace on .c/.cpp/.h/.hpp files
will be enough for most sources.
|
||
|
|
990ac68465 |
2008-08-12 22:49 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/config/w32/dm.cf
* updated for central library directory used by Harbour - not tested
* harbour/config/w32/xcc.cf
! fixed include PATH in XCC builds - Viktor be carefull with
cleaning -I<path> parameter. Some compilers use different
rulles then the one you may expect using the most popular
ones and such operation will break compilation. F.e. XCC
seems to ignore source file location for releative paths
so in GNU make builds it's necessary to add "-I$(TOP)"
instead of "-I." and when included file starts with ".."
then it does not try to use it with paths set by -I option
so we need -I$(TOP)$(ROOT) and hard coded for this compiler
directories in include/hbregex.h and include/hbzip.h
* harbour/source/hbzlib/zutil.h
! do not use fdopen() with XCC - it does not support it
* harbour/contrib/examples/pp/pp.c
* harbour/contrib/examples/pp/hbppcore.c
* harbour/source/common/hbfsapi.c
* harbour/source/rtl/fnsplit.c
* harbour/source/rtl/fstemp.c
! always use _POSIX_PATH_MAX + 1 buffers
* harbour/source/compiler/gencobj.c
* extended line buffer size
* harbour/source/rtl/gtcrs/gtcrs.h
* removed unnecessary declaration for _POSIX_PATH_MAX
it's always defined in Harbour header files
* harbour/source/rtl/inkey.c
* harbour/source/rtl/hbinet.c
* harbour/source/rtl/gtwvt/gtwvt.c
* use hb_array[SG]et*() functions insteaf of
hb_item*( hb_arrayGetItemPtr, ... )
|
||
|
|
8e01405ad7 |
2008-08-09 11:43 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* doc/whatsnew.txt
* bin/hb-mkslib.sh
! Changed the way harbour.dylib is created on Darwin systems
to support universal builds. Please review and test.
! Fixed generating links for .dylibs on Darwin.
! Removed one excessive 'cd "${OTMPDIR}"' command.
(I hope this is right)
! Removed previously added $(L_USR) from Darwin dynamic
lib creation command line, as the L_USR "-arch" flags
(and probably others) cannot work here.
; TOFIX: 'ld: library not found for -lharbour' is still
present.
* include/hbsetup.h
+ Added autodetection for HB_OS_DARWIN (based on __APPLE__).
* config/darwin/gcc.cf
! Not forcing HB_OS_DARWIN from the command-line,
we're relying on the autodetection.
* source/rtl/hbzlib.c
* include/hbextern.ch
* doc/whatsnew.txt
* Harbour level functions renamed:
HB_COMPRESS -> HB_ZCOMPRESS
HB_COMPRESSBOUND -> HB_ZCOMPRESSBOUND
HB_UNCOMPRESS -> HB_ZUNCOMPRESS
HB_UNCOMPRESSLEN -> HB_ZUNCOMPRESSLEN
This is to avoid collision with xhb functions
with similar name but different parameter list.
Please modify your programs to use the new interface.
INCOMPATIBLE.
* utils/hbextern/hbextern.prg
* Disabled scanning C HB_FUNC functions in .prg files.
* Minor formatting.
* include/hbapigt.h
! Minor cosmetic.
* source/vm/runner.c
* include/hbextern.ch
* doc/whatsnew.txt
* contrib/examples/hscript/hscript.prg
* utils/hbrun/hbrun.prg
* Harbour level functions renamed:
__HRBRUN -> HB_HRBRUN
__HRBLOAD -> HB_HRBLOAD
__HRBDO -> HB_HRBDO
__HRBUNLOAD -> HB_HRBUNLOAD
__HRBGETFU -> HB_HRBGETSYMBOL
__HRBDOFU -> HB_HRBDOSYMBOL
.hrb API functions moved to the documented namespace.
Old function names still function, but are deprecated.
Please modify your programs to use the new interface.
; NOTE: HB_DBG_*() function should I believe correctly
named as __DBG*(), as they are indeed internal
functions, not meant to guaranteed for final apps.
We should do this cleanup in the future.
* tests/Makefile
- tests/spawn.prg
- tests/spawn2.prg
! Removed two obsolete tests.
|
||
|
|
1963970a1d |
2008-08-07 21:49 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* contrib/examples/pp/pp.c
* contrib/hbmisc/fileread.prg
* contrib/hbmisc/tests/readfile.prg
* contrib/hbmisc/tests/twirl.prg
* contrib/hbmisc/twirler.prg
* doc/en/readme.txt
* doc/es/readme.txt
* harbour-ce-spec
* harbour-w32-spec
* harbour.spec
* source/rtl/achoice.prg
* tests/boxtst2.prg
* tests/delimtst.prg
* tests/devtest.prg
* tests/disptest.prg
* tests/inkeytst.prg
* tests/longdev.prg
* tests/output.prg
* tests/round.prg
* tests/sbartest.prg
* tests/scroll.prg
* tests/sdf_test.prg
* tests/seconds.prg
* tests/setkeys.prg
* tests/testhtml.prg
* tests/version.prg
* utils/hbdoc/hbdoc.prg
* Minor formattings, cosmetic updates,
homepage made lower case everywhere.
|
||
|
|
376106bfd6 |
2008-08-05 16:29 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* contrib/examples/pp/bld_b32.bat
* contrib/examples/pp/bld_vc.bat
* contrib/examples/guestbk/bld_b32.bat
* contrib/examples/guestbk/bld_vc.bat
* contrib/examples/pe/bld_b32.bat
* contrib/examples/pe/bld_vc.bat
* contrib/examples/dbu/bld_b32.bat
* contrib/examples/dbu/bld_vc.bat
* contrib/examples/hscript/bld_b32.bat
* contrib/examples/hscript/bld_vc.bat
* utils/hbdoc/bld_vc.bat
* utils/hbdoc/bld_b32.bat
* utils/hbmake/bld_vc.bat
* utils/hbmake/bld_b32.bat
+ Cleaning .c and .obj files after the build process.
! This is needed to not interfere with the GNU-make system,
which would pickup and try to compiler those temp .c files.
|
||
|
|
94f2dd9da7 |
2008-08-05 13:22 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* doc/whatsnew.txt
+ Added hbdot -> hbrun info.
* utils/Makefile
! Missing change to previous commit.
* contrib/examples/pp/bld_b32.bat
* contrib/examples/guestbk/bld_b32.bat
* contrib/examples/pe/bld_b32.bat
* contrib/examples/dbu/bld_b32.bat
* contrib/examples/hscript/bld_b32.bat
* utils/hbdoc/bld_b32.bat
* utils/hbmake/bld_b32.bat
% -e switch removed from bcc32 command line.
|
||
|
|
4f0a3898f4 |
2008-08-05 08:50 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* harbour-ce-spec
* harbour-w32-spec
* harbour.spec
* common.mak
* make_b32.mak
* make_gcc.mak
* make_vc.mak
* make_vcce.mak
* make_tgz.sh
* debian/rules
- doc/man/hbdot.1
* doc/man/hbrun.1
- utils/hbdot
* utils/hbrun/Makefile
* utils/hbrun/hbrun.prg
- utils/hbrun/external.prg
* Replaced hbrun functionality with hbdot's.
- Removed separate hbdot tool.
* contrib/hbsqlit3/sqlite3/sqlite3.c
* contrib/hbsqlit3/make_vc.bat
! Fixed bug in foreign code (sqlite3.c) to compile in
MSVC C++ mode. (HANDLE -> HMODULE)
* C++ mode is no longer forced in non-GNU MSVC builds,
this way also avoiding a screen warning.
* contrib/examples/dbu/bld_b32.bat
* contrib/examples/dbu/bld_vc.bat
! Fixed to call 'patch' with '-N' so that it doesn't
ask to reverse patches when run multiple times.
+ utils/hbdoc/bld_b32.bat
+ utils/hbdoc/bld_vc.bat
+ Added non-GNU make batch files to build hbmake.
; This is a step towards detaching hbdoc from core.
* utils/hbdoc/hbdocdef.ch
! Fixed equality operators to be SET EXACT independent.
; Minor formatting.
|
||
|
|
be04c086cd |
2008-08-05 00:22 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
+ utils/hbmake/bld_vc.bat
+ utils/hbmake/bld_b32.bat
+ Added non-GNU make batch files to build hbmake.
; This is a step towards detaching hbmake from core.
+ contrib/examples/dbu/bld_vc.bat
+ contrib/examples/guestbk/bld_vc.bat
+ contrib/examples/hscript/bld_vc.bat
+ contrib/examples/pe/bld_vc.bat
+ contrib/examples/pp/bld_vc.bat
+ Added MSVC build scripts.
|
||
|
|
1e9fb98568 | 2008-07-09 12:05 UTC+0100 Marek Paliwoda (mpaliwoda at interia pl) | ||
|
|
53c7ccc18b |
2008-06-27 12:24 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* include/hbstdgen.ch
* include/hbver.h
* include/hbdefs.h
* source/pp/pplib.c
* source/pp/ppcore.c
* source/pp/hbpp.c
* source/common/hbver.c
* source/common/hbverdsp.c
* contrib/hbsqlit3/hbsqlit3.c
* contrib/examples/pp/hbppdef.h
* Changed .c level __HARBOUR__ to have the same value
as the existing .prg level one.
* PP now gets the __HARBOUR__ define directly from the .c
level instead of generating it locally.
; QUESTION: Should or shouldn't we change __HARBOUR__
to contain revision number too? (0x0100 -> 0x01000)
This would allow for a greater level of development
opportunities between minor revisions, more "agile"
development.
* include/hbpp.h
* source/pp/ppcore.c
- Two __XHARBOUR__ guards removed.
|
||
|
|
67c8fbb275 |
2008-06-21 17:58 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* contrib/Makefile
- contrib/hbgf/gtk
- contrib/hbgf/os2pm
- contrib/hbgf/win32
+ contrib/hbgf/hbgfw32
+ contrib/hbgf/hbgfos2
+ contrib/hbgf/hbgfgtk
+ contrib/hbgf/Makefile
* contrib/hbgf/hbgfos2/Makefile
+ Decentralized GNU make for these contribs.
* Renamed according to stds.
! Fix to be built under Linux/Win32.
(if they don't work they should be fixed/disabled locally)
* contrib/Makefile
* contrib/hbodbc/Makefile
* contrib/hbw32/Makefile
* contrib/rddado/Makefile
* Further decentralization of contrib building decisions.
+ Added all existing contribs to the list. Separated into
two sections: standalone contribs, and ones with external
dependencies.
; TODO: Refine this by some clever commenting.
This is a multiplatform issue, so we need to
work together.
* contrib/examples/Makefile
! Fixed to include newly added examples.
* contrib/hbapollo/make_b32.bat
* contrib/hbapollo/make_vc.bat
* contrib/hbcurl/make_b32.bat
* contrib/hbcurl/make_vc.bat
* contrib/hbfbird/make_b32.bat
* contrib/hbfbird/make_vc.bat
* contrib/hbfimage/make_b32.bat
* contrib/hbfimage/make_vc.bat
* contrib/hbgd/make_b32.bat
* contrib/hbgd/make_vc.bat
* contrib/hbhpdf/make_b32.bat
* contrib/hbhpdf/make_vc.bat
* contrib/hbmysql/make_b32.bat
* contrib/hbmysql/make_vc.bat
* contrib/hbpgsql/make_b32.bat
* contrib/hbpgsql/make_vc.bat
* contrib/rddads/make_b32.bat
* contrib/rddads/make_vc.bat
+ Some steps made to make it possible to disable
any messings with .dlls. This is not yet complete,
and the goal is to be able to use HB_INC_* to
specify include dirs for external packages on
all make systems (GNU, non-GNU .bat, non-GNU .sh)
[TOMERGE 1.0.0RC1]
|
||
|
|
17e5e2df1c |
2008-06-20 09:59 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* contrib/hbmisc/spd.c
! Fix for OS/2 warning.
* contrib/examples/pe/editorhi.prg
* contrib/examples/hscript/hscript.prg
* Cleanups.
* contrib/examples/hscript/bld_b32.bat
! Fixed to have hbzlib.lib
[TOMERGE RC1]
|
||
|
|
1de1cfa507 |
2008-06-19 18:26 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* contrib/examples/guestbk/guestbk.prg
* contrib/examples/guestbk/inifiles.prg
* contrib/examples/guestbk/testcgi.prg
* contrib/examples/hscript/hscript.prg
* contrib/examples/pe/editorhi.prg
* contrib/gtwvg/tests/demowvg.prg
* contrib/hbbtree/tests/test.prg
* contrib/hbbtree/tests/ttest.prg
* contrib/hbclipsm/tests/testgaug.prg
* contrib/hbct/getinfo.prg
* contrib/hbct/getinput.prg
* contrib/hbct/getsecrt.prg
* contrib/hbct/keytime.prg
* contrib/hbct/numconv.prg
* contrib/hbfbird/tfirebird.prg
* contrib/hbgd/gd.prg
* contrib/hbgd/gdbar.prg
* contrib/hbgd/gdbarcod.prg
* contrib/hbgd/gdimage.prg
* contrib/hbgd/tests/animgif.prg
* contrib/hbgd/tests/gdtest.prg
* contrib/hbgd/tests/test_out.prg
* contrib/hbgf/gtk/button.prg
* contrib/hbgf/gtk/form.prg
* contrib/hbgf/gtk/menuitem.prg
* contrib/hbgf/gtk/winctrl.prg
* contrib/hbgf/os2pm/button.prg
* contrib/hbgf/os2pm/edit.prg
* contrib/hbgf/os2pm/tform.prg
* contrib/hbgf/os2pm/tmenu.prg
* contrib/hbgf/os2pm/tmenuitm.prg
* contrib/hbgf/tests/formtext.prg
* contrib/hbgf/tests/testctrl.prg
* contrib/hbgf/tests/testform.prg
* contrib/hbgf/win32/button.prg
* contrib/hbgf/win32/edit.prg
* contrib/hbgf/win32/form.prg
* contrib/hbgf/win32/menu.prg
* contrib/hbgf/win32/menuitem.prg
* contrib/hbhpdf/tests/harupdf.prg
* contrib/hbmsql/tests/dbf2msql.prg
* contrib/hbmsql/tmsql.prg
* contrib/hbmysql/dbf2mysql.prg
* contrib/hbmysql/tmysql.prg
* contrib/hbmysql/tsqlbrw.prg
* contrib/hbmzip/tests/myzip.prg
* contrib/hbnf/aredit.prg
* contrib/hbnf/calendar.prg
* contrib/hbnf/clrsel.prg
* contrib/hbnf/pending.prg
* contrib/hbnf/sqzn.prg
* contrib/hbnf/tbwhile.prg
* contrib/hbnf/tests/test.prg
* contrib/hbodbc/todbc.prg
* contrib/hbpgsql/tests/dbf2pg.prg
* contrib/hbpgsql/tpostgre.prg
* contrib/hbsqlit2/tests/hbsqlite.prg
* contrib/hbsqlit3/tests/sqlite3_test.prg
* contrib/hbtpathy/telepath.prg
* contrib/hbvpdf/hbvpdf.prg
* contrib/hbvpdf/hbvpdft.prg
* contrib/hbvpdf/tests/pdf_demo.prg
* contrib/hbvpdf/tests/tstpdf.prg
* contrib/hbw32/w32_tole.prg
* contrib/hbw32/w32_tprn.prg
* contrib/hbw32ddr/tests/testdx.prg
* contrib/rddado/adordd.prg
* contrib/rddado/tests/access2.prg
* source/debug/debugger.prg
* source/rdd/hbsix/sxini.prg
* utils/hbdot/hbdot.prg
* utils/hbextern/hbextern.prg
* Cleanup.
<> -> != or !( == ) for strings
if() -> iif() (for inline, where noticed)
' = ' -> := or == for comparisons, or left as '=' in the few
rare cases where this was (probably) intended (sxini.prg).
Excluded: most tests, hbnf, util/hbdoc, util/hbmake, hbwhat32, gtwvg,
hbvpdf has some difficult to judge '=' operators, so I left them.
! Fixed some _SET_EXACT dependencies in a few places.
; TODO: If possible, add a compile switch to catch these, as
it's not very easy using 'grep'.
|
||
|
|
e708033e0e |
2008-06-13 19:19 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* source/rtl/gtwvt/gtwvt.h
* source/rtl/gtwvt/gtwvt.c
* tests/wvtext.prg
+ Added hb_gtInfo( HB_GTI_SELECTCOPY, <cMenuText> )
to set the menu text ("Mark and Copy" on startup).
cMenuText mustn't be zero length. Setting the menu text
also enables select© automatically. The call
will return the previously set menu text. To get
the menu text without setting a new one, use:
hb_gtInfo( HB_GTI_SELECTCOPY, "" )
This is good if someone wants to adapt the menu
text to the OS's or app's language.
* doc/en/hb_apiit.txt
* include/hbapi.h
* include/hbapiitm.h
* source/rtl/gtwin/gtwin.c
* source/rtl/hbgtcore.c
* source/rtl/gtgui/gtgui.c
* source/rtl/gtwvt/gtwvt.c
* source/vm/macro.c
* source/vm/debug.c
* source/vm/itemapi.c
* source/vm/hvm.c
* source/vm/arrays.c
* source/vm/extend.c
* source/rdd/dbfntx/dbfntx1.c
* source/rdd/sdf1.c
* source/rdd/dbfcdx/dbfcdx1.c
* source/rdd/delim1.c
* source/rdd/dbf1.c
* source/rdd/dbffpt/dbffpt1.c
* contrib/hbw32/w32_ole.c
* contrib/gtwvg/gtwvg.c
* contrib/rddads/ads1.c
* contrib/hbmisc/spd.c
* contrib/hbbmcdx/bmdbfcdx1.c
* contrib/examples/rdddbt/dbfdbt1.c
* I did a mistake in 1999 by giving the name hb_itemPutCPtr()
to the function which would have to be correctly named
hb_itemPutCLPtr() (notice the 'L' for 'length').
So, now this was renamed to hb_itemPutCLPtr(), and stub was
added with the old name, and Harbour code was changed to use
the new one. I've also added hb_itemPutCPtr2() as a version
not requiring len parameter, the proper name would be hb_itemPutCPtr()
for this, but we cannot use without breakin compatiblity.
IMPORTANT: I'd strongly suggest all 3rd parties to update
their code to use the call hb_itemPutCLPtr() instead of
hb_itemPutCLPtr().
The final goal would be to have hb_itemPutCPtr() with two
parameters instead of the hakish looking hb_itemPutCPtr2().
I'd welcome any opinions how to reach this goal. I didn't want to
break compatiblity with 3rd parties this time, but IMO we may do
it in 1.1, or even before 1.0.
! The above also fixes the (potential) problem when hb_retc_buffer()'s
szText parameter was evaluated twice if HB_API_MACROS was #defined.
|
||
|
|
73b29af522 |
2008-06-05 20:30 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
- contrib/examples/pp/hbpp.c
+ contrib/examples/pp/pp.c
* contrib/examples/pp/bld_b32.bat
* contrib/examples/pp/Makefile
* hbpp.c -> pp.c to generate pp.exe using GNU make files.
* contrib/examples/pp/bld_b32.bat
% Removed unnecessary libs.
|
||
|
|
31ff7b0367 |
2008-06-05 12:53 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* source/pp/hbppgen.c
* contrib/examples/pp/hbpp.c
* Headers cleaned.
|
||
|
|
830a722777 |
2008-06-05 12:42 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* make_b32.mak
* make_gcc.mak
* make_vc.mak
* make_vcce.mak
* common.mak
* utils/Makefile
- utils/hbpp/hbpplib.c
- utils/hbpp
+ contrib/examples/pp
+ contrib/examples/pp/bld_b32.bat
* Moved utils/hbpp -> contrib/examples/pp
+ Added BCC make file.
* contrib/examples/pe/bld_b32.bat
! Fixed.
|
||
|
|
631010f4ae |
2008-05-30 17:36 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* 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.
|
||
|
|
f02145dc30 |
2008-05-21 15:00 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* bin/bld.bat
* bin/bld_os2.cmd
! Removed trailing backslash from default Harbour bin dirs.
* contrib/hbapollo/make_b32.bat
* contrib/hbapollo/make_vc.bat
* contrib/hbfbird/make_b32.bat
* contrib/hbfbird/make_vc.bat
* contrib/hbfimage/make_b32.bat
* contrib/hbfimage/make_vc.bat
* contrib/hbgd/make_b32.bat
* contrib/hbgd/make_vc.bat
* contrib/hbhpdf/make_b32.bat
* contrib/hbhpdf/make_vc.bat
* contrib/hbmysql/make_b32.bat
* contrib/hbmysql/make_vc.bat
* contrib/hbodbc/make_b32.bat
* contrib/hbodbc/make_vc.bat
* contrib/hbpgsql/make_b32.bat
* contrib/hbpgsql/make_vc.bat
* contrib/hbw32ddr/make_b32.bat
* contrib/hbw32ddr/make_vc.bat
* contrib/hbzlib/make_b32.bat
* contrib/hbzlib/make_vc.bat
* contrib/rddads/make_b32.bat
* contrib/rddads/make_vc.bat
! Fixed to handle long *_DIR settings in those
contribs where external packages are required.
* contrib/gtwvg/tests/bld_b32.bat
* contrib/gtwvg/tests/bld_vc.bat
* contrib/hbapollo/tests/bld_b32.bat
* contrib/hbapollo/tests/bld_vc.bat
* contrib/hbclipsm/tests/bld_b32.bat
* contrib/hbclipsm/tests/bld_vc.bat
* contrib/hbct/tests/bld_b32.bat
* contrib/hbct/tests/bld_vc.bat
* contrib/hbfbird/tests/bld_b32.bat
* contrib/hbfbird/tests/bld_vc.bat
* contrib/hbfimage/tests/bld_b32.bat
* contrib/hbfimage/tests/bld_vc.bat
* contrib/hbgd/tests/bld_b32.bat
* contrib/hbgd/tests/bld_vc.bat
* contrib/hbgf/tests/bld_b32.bat
* contrib/hbgf/tests/bld_vc.bat
* contrib/hbhpdf/tests/bld_b32.bat
* contrib/hbhpdf/tests/bld_vc.bat
* contrib/hbmisc/tests/bld_b32.bat
* contrib/hbmisc/tests/bld_vc.bat
* contrib/hbmysql/tests/bld_b32.bat
* contrib/hbmysql/tests/bld_vc.bat
* contrib/hbnf/tests/bld_b32.bat
* contrib/hbnf/tests/bld_vc.bat
* contrib/hbodbc/tests/bld_b32.bat
* contrib/hbodbc/tests/bld_vc.bat
* contrib/hbole/tests/bld_b32.bat
* contrib/hbole/tests/bld_vc.bat
* contrib/hbpgsql/tests/bld_b32.bat
* contrib/hbpgsql/tests/bld_vc.bat
* contrib/hbtpathy/tests/bld_b32.bat
* contrib/hbtpathy/tests/bld_vc.bat
* contrib/hbvpdf/tests/bld_b32.bat
* contrib/hbvpdf/tests/bld_vc.bat
* contrib/hbw32/tests/bld_b32.bat
* contrib/hbw32/tests/bld_vc.bat
* contrib/hbw32ddr/tests/bld_b32.bat
* contrib/hbw32ddr/tests/bld_vc.bat
* contrib/hbzlib/tests/bld_b32.bat
* contrib/hbzlib/tests/bld_vc.bat
* contrib/rddado/tests/bld_b32.bat
* contrib/rddado/tests/bld_vc.bat
* contrib/rddads/tests/bld_b32.bat
* contrib/rddads/tests/bld_vc.bat
! Fixed to honor HB_*_INSTALL envvar settings in
bld_*.bats for /tests
* contrib/examples/hscript/dir.hs
* contrib/examples/hscript/bld_b32.bat
- contrib/examples/hscript/makehtm.bat
* Cleanup.
* contrib/rddads/rddads.h
* contrib/rddads/adsfunc.c
* contrib/rddads/ads1.c
* contrib/rddads/adsmgmnt.c
* Header cleanup, minor code opt.
* ADS_REQUIRE_VERSION==8 is now equivalent to
ADS_LIB_VERSION=810. Brian suggested this is what
the majority of users need. See next however.
* ADS_REQUIRE_VERSION compatibility handling
disabled to make usage and support more
straightforward. I'd suggest everyone to remove
any old ADS_REQUIRE_VERSION settings, if - and only
if - there is a need to force an older version,
ADS_LIB_VERSION=??? should be used, where ??? is
810 for ACE 8.11 (for example).
|
||
|
|
dbbc91c3f5 |
2008-02-02 15:29 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
+ contrib/examples/rdddbt
- contrib/examples/dbfdbt
* Renamed after move.
|
||
|
|
d5973af327 |
2008-02-02 15:27 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
+ contrib/examples/dbfdbt
+ contrib/examples/dbfdbt/dbfdbt1.c
+ contrib/examples/dbfdbt/Makefile
- source/rdd/dbfdbt
* Moved no longer used (superceded) core RDD code to
/contrib/examples/
|
||
|
|
07ea129a9d |
2008-01-31 22:10 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/examples/guestbk/bld_b32.bat
* contrib/examples/pe/bld_b32.bat
* contrib/examples/dbu/bld_b32.bat
* contrib/examples/hscript/bld_b32.bat
! Lib name changes.
|