* contrib/hbwin/win_regc.c
* contrib/hbwin/win_prn3.c
* contrib/hbwin/win_dll.c
+ Using new UNICODE parameter passing macros instead of HB_TCHAR*() ones.
; Please review me. The transition is not yet full, as there were
some problematic cases, which I've left as is.
! Added UNICODE support for WIN_REGQUERYVALUEEX()'s string return values.
* contrib/hbwin/tests/testreg.prg
+ Added one more test call.
! Fixed to not use legacy registry call.
* harbour/include/hbapilng.h
+ harbour/include/hbmsgreg.h
+ added common for all Harbour lang modules (msg*.c) header file
with initialization code
* harbour/src/lang/msgbe866.c
* harbour/src/lang/msgbewin.c
* harbour/src/lang/msgbg866.c
* harbour/src/lang/msgbgiso.c
* harbour/src/lang/msgbgmik.c
* harbour/src/lang/msgbgwin.c
* harbour/src/lang/msgca.c
* harbour/src/lang/msgcs852.c
* harbour/src/lang/msgcsiso.c
* harbour/src/lang/msgcskam.c
* harbour/src/lang/msgcswin.c
* harbour/src/lang/msgde.c
* harbour/src/lang/msgdewin.c
* harbour/src/lang/msgel.c
* harbour/src/lang/msgelwin.c
* harbour/src/lang/msgeo.c
* harbour/src/lang/msges.c
* harbour/src/lang/msgeswin.c
* harbour/src/lang/msgeu.c
* harbour/src/lang/msgfr.c
* harbour/src/lang/msggl.c
* harbour/src/lang/msghe862.c
* harbour/src/lang/msghewin.c
* harbour/src/lang/msghr437.c
* harbour/src/lang/msghr852.c
* harbour/src/lang/msghriso.c
* harbour/src/lang/msghrwin.c
* harbour/src/lang/msghu852.c
* harbour/src/lang/msghucwi.c
* harbour/src/lang/msghuiso.c
* harbour/src/lang/msghuwin.c
* harbour/src/lang/msgid.c
* harbour/src/lang/msgis850.c
* harbour/src/lang/msgit.c
* harbour/src/lang/msgko.c
* harbour/src/lang/msgltwin.c
* harbour/src/lang/msgnl.c
* harbour/src/lang/msgpl852.c
* harbour/src/lang/msgpliso.c
* harbour/src/lang/msgplmaz.c
* harbour/src/lang/msgplwin.c
* harbour/src/lang/msgpt.c
* harbour/src/lang/msgptiso.c
* harbour/src/lang/msgro.c
* harbour/src/lang/msgru866.c
* harbour/src/lang/msgrukoi.c
* harbour/src/lang/msgruwin.c
* harbour/src/lang/msgsk852.c
* harbour/src/lang/msgskiso.c
* harbour/src/lang/msgskkam.c
* harbour/src/lang/msgskwin.c
* harbour/src/lang/msgsl437.c
* harbour/src/lang/msgsl852.c
* harbour/src/lang/msgsliso.c
* harbour/src/lang/msgslwin.c
* harbour/src/lang/msgsr852.c
* harbour/src/lang/msgsriso.c
* harbour/src/lang/msgsrwin.c
* harbour/src/lang/msg_tpl.c
* harbour/src/lang/msgtr857.c
* harbour/src/lang/msgtrwin.c
* harbour/src/lang/msgua866.c
* harbour/src/lang/msguados.c
* harbour/src/lang/msguakoi.c
* harbour/src/lang/msguawin.c
* harbour/src/lang/msgzhb5.c
* harbour/src/lang/msgzhgb.c
* modified to use initialization code defined in common for all
lang modules header file.
* harbour/contrib/gtwvg/wvggui.c
* harbour/contrib/hbqt/qtgui/QApplication.cpp
* harbour/contrib/hbqt/qth/QApplication.qth
* use default GT startup cvode (#include "hbgtreg.h")
* harbour/include/hbinit.h
+ harbour/include/hbiniseg.h
* replaced HB_MSC_STARTUP code with more universal HB_DATASEG_STARTUP
* moved HB_DATASEG_STARTUP code to separate header file to reduce
modifications in other files when this code has to be changed or
extended
+ added support for startup code in OpenWatcom C builds. Now we can
create OpenWatcom Harbour binaries without forcing C++ mode.
I've tested Linux and Win32 builds and they works correctly.
Probably similar solution can be used also for other C compilers
which do not have native interface to define starup code.
* harbour/src/compiler/genc.c
* harbour/utils/hbmk2/hbmk2.prg
* harbour/include/hbcdpreg.h
* harbour/include/hbgtreg.h
* harbour/src/rtl/hbregex.c
* harbour/src/rdd/dbf1.c
* harbour/src/rdd/dbfcdx/dbfcdx1.c
* harbour/src/rdd/dbffpt/dbffpt1.c
* harbour/src/rdd/dbfnsx/dbfnsx1.c
* harbour/src/rdd/dbfntx/dbfntx1.c
* harbour/src/rdd/delim1.c
* harbour/src/rdd/sdf1.c
* harbour/src/pp/pplib3.c
* harbour/contrib/rddads/ads1.c
* harbour/contrib/rddads/adsx.c
* harbour/contrib/rddsql/sddfb/fbirddd.c
* harbour/contrib/rddsql/sddmy/mysqldd.c
* harbour/contrib/rddsql/sddodbc/odbcdd.c
* harbour/contrib/rddsql/sddpg/pgsqldd.c
* harbour/contrib/rddsql/sqlbase.c
* harbour/contrib/rddsql/sqlmix.c
* harbour/contrib/hbbmcdx/bmdbfcdx.c
* harbour/contrib/hbmemio/memio.c
* harbour/contrib/hbnetio/netiocli.c
* harbour/contrib/hbbtree/hb_btree.c
* harbour/contrib/hbwin/olecore.c
* harbour/contrib/hbwin/win_com.c
* modified to use HB_DATASEG_STARTUP instead of HB_MSC_STARTUP
Now HB_MSC_STARTUP is local macro used only in hbinit.h.
Please make MSVC build tests.
* harbour/contrib/hbmemio/memio.c
! declare s_fileFuncs structure as static
* removed unnecessary code to directly register HB_MEMIO symbol.
Mindaugas if you need it for some reasons then I can reactivate it
but I would like to know why it's necessary for you.
* harbour/src/vm/task.c
! added missing {}
* harbour/src/vm/fm.c
* locally disabled "unreachable code" warnings for dlmalloc.c
compilation by OpenWatcom in pure C mode
* harbour/src/rtl/hbzlibgz.c
* minor code cleanup
* harbour/src/rtl/filesys.c
* pacified OS/2 warnings
* harbour/contrib/hbcairo/core.c
! fixed casting for C++ builds
* harbour/contrib/hbwin/wapi_winbase.c
! fixed casting
* harbour/src/Makefile
* changed the order of compiled libraries to improve little bit
the speed in concurrent (-j<N>) builds
* include/hbwinuni.h
+ Added HB_PARSTRDEF() macro. So far the same as HB_PARSTR(), but
it's supposed to mark places where hb_parcx() was used (where
WinAPI expects non-optional string parameter).
* contrib/hbwin/wapi_winbase.c
* contrib/hbwin/wapi_winuser.c
* contrib/hbwin/wapi_shellapi.c
* contrib/hbwin/legacyco.c
+ Using new UNICODE parameter passing macros instead of HB_TCHAR*() ones.
; NOTE: I'm unsure how to apply the same to wapi_commctrl.c, could anyone help?
Here the string is assigned to win structure and passed to winapi,
which may mean that string space should be kept there after
returning from function.
* contrib/hbxbp/xbpgeneric.prg
! Using HB_SYMBOL_UNUSED() to mark unused parameters, instead of
local solution.
% Minor optimizations.
* MSGBOX() changed to not display all text in bold.
+ Changed <BR> to <br /> in MSGBOX().
* contrib/hbide/hbide.prg
* contrib/hbide/idemisc.prg
* contrib/hbide/projects/hbide.hbi
* contrib/hbqt/hbqt_slots.cpp
* contrib/hbqt/hbqt_slots.h
* contrib/hbxbp/xbpmle.prg
+ Implemented project building.
Right click on <Harbour-Qt IDE> project tree node and select
<Save and Build> or <Save and Build (Qt)> context menu options.
I am looking for Qt like process management in Harbour.
I mean, I need callback when process is running.
* src/common/hbver.c
! Fixed determining the patch level of MSVC compiler on
or above version 2005.
Adapted fix from xhb / Andi Jahja.
* contrib/hbqt/hbqt_slots.cpp
* Little renaming.
* contrib/hbqt/hbqt_slots.cpp
* Further formatting and some variables renamed.
Again sorry for using such long lines, but - at least to me -
it reveals the slot logic so clearly.
In fact from this point it's even visible how this could
be made modular.
* src/macro/Makefile
- src/macro/macro.l
* src/compiler/Makefile
- src/compiler/harbour.l
- src/compiler/fixflex.c
* INSTALL
* config/c.mk
* config/rules.mk
* Deleted references to Flex and related files.
Flex is not used since long. It couldn't generate MT safe lexer code.
+ contrib/hbqt/hbqt_hbqtmymainwindow.cpp
* contrib/hbqt/hbqt_slots.cpp
* contrib/hbqt/Makefile
* MyMainWindow() class moved to separate source file.
* Deleted commented debug calls.
* Code formatting.
! Fix to call mutex initialization on MyMainWindows creation,
to guarantee its present. Anyhow current method is still not
safe.
% Cleaned some casts.
; TOFIX: mutex initialization in MyMainWindow.
; TOFIX: MyMainWindow is a leakable resource and it _is_
leaked from hbxbp.
* contrib/hbxbp/xbpsle.prg
* contrib/hbxbp/xbplistbox.prg
* contrib/hbxbp/xbprtf.prg
* contrib/hbxbp/xbpbrowse.prg
* contrib/hbxbp/xbpwindow.prg
* contrib/hbxbp/xbpcombobox.prg
* contrib/hbxbp/xbppushbutton.prg
* contrib/hbxbp/xbp.ch
* contrib/hbxbp/xbptreeview.prg
* contrib/hbxbp/xbpdialog.prg
* contrib/hbxbp/xbpspinbutton.prg
* contrib/hbxbp/xbpgeneric.prg
* contrib/hbide/hbide.prg
* :createFromQtPtr() -> hbCreateFromQtPtr()
! Fixed few non-Xbase++ public functions to hold the
hbxbp_ prefix in their names.
It probably needs further cleanup.
% Highly optimized ConvertAFact(), now goes by the
name hbxbp_ConvertAFactFromXBP(). Only one conversion
was used in code, so I dropped the other, but it can be
readded similarly if ever needed.
! Mutex destroy moved to the end of EXIT PROC, anyway
it's still not safe and should be solved differently.
(TOFIX)
; TOFIX: hbxbp_SetEventFilter() is passed to several function,
but this function has no return value.
* contrib/hbcairo/core.c
* Minor.
* harbour/contrib/hbcairo/core.c
! fixed code which operates on GC blocks and make both versions
(with and without HB_USE_ITEM) working in the same way so thay
can be easy compared.
* contrib/hbqt/hbqt_slots.cpp
! Fixed to check for NULL pointer and return error in
QT_CONNECT_EVENT() and QT_DISCONNECT_EVENT() and MyMainWindow desctructor.
; TOFIX: Passing non-block to QT_MYMAINWINDOW() first parameter will cause GPFs.
* contrib/hbxbp/tests/demoxbp.prg
* contrib/hbxbp/xbpwindow.prg
* contrib/hbxbp/xbpdialog.prg
* contrib/hbxbp/xbpgeneric.prg
! THREADID() -> HB_THREADID().
(former is not necessarily available in core)
* contrib/hbide/hbide.prg
+ Added some more debug code.
Now HBIDE exits cleanly.
* contrib/hbqt/hbqt_destruct.cpp
- Removed HBQT_QTPTR_FROM_GCPOINTER()
+ Added ISEQUALGCQTPOINTER()
* contrib/hbqt/hbqt_slots.cpp
! Fixed MainWindow::~MainWindow() calls. Was a reason FOR many GPFs.
* contrib/hbqt/qtgui/QApplication.cpp
* contrib/hbqt/qth/QApplication.qth
- Removed call to Qt_destroy_codeblocks().
* contrib/hbxbp/xbpfontdialog.prg
! Proper destruction of font and font metrix.
* contrib/hbxbp/xbptabpage.prg
% Replaced call to HBQT_QTPTR_FROM_GCPOINTER() => IsEqualGcQtPointer()
* contrib/hbxbp/xbptreeview.prg
% Replaced call to HBQT_QTPTR_FROM_GCPOINTER() => IsEqualGcQtPointer()
* contrib/hbxbp/xbpwindow.prg
% Replaced call to HBQT_QTPTR_FROM_GCPOINTER() => IsEqualGcQtPointer()
* contrib/hbxbp/tests/demoxbp.prg
! Test calls to overview memory usage with different modes to release Qt pointers.
Now it exits cleanly.
* contrib/hbide/hbide.prg
+ Added some more debug code.
Now HBIDE exits cleanly.
* contrib/hbqt/hbqt_destruct.cpp
- Removed HBQT_QTPTR_FROM_GCPOINTER()
+ Added ISEQUALGCQTPOINTER()
* contrib/hbqt/hbqt_slots.cpp
! Matched hb_vmRequestReenter() / hb_vmRequestRestore() calls.
! Fixed MainWindow::~MainWindow() calls. Was a reason FOR many GPFs.
* contrib/hbqt/qtgui/QApplication.cpp
* contrib/hbqt/qth/QApplication.qth
- Removed call to Qt_destroy_codeblocks().
* contrib/hbxbp/xbpfontdialog.prg
! Proper destruction of font and font metrix.
* contrib/hbxbp/xbptabpage.prg
% Replaced call to HBQT_QTPTR_FROM_GCPOINTER() => IsEqualGcQtPointer()
* contrib/hbxbp/xbptreeview.prg
% Replaced call to HBQT_QTPTR_FROM_GCPOINTER() => IsEqualGcQtPointer()
* contrib/hbxbp/xbpwindow.prg
% Replaced call to HBQT_QTPTR_FROM_GCPOINTER() => IsEqualGcQtPointer()
* contrib/hbxbp/tests/demoxbp.prg
! Test calls to overview memory usage with different modes to release Qt pointers.
Now it exits cleanly.
+ contrib/hbqt/hbqt_hbqtsyntaxhighlighter.cpp
+ contrib/hbqt/hbqt_hbqtdbfmodel.cpp
+ contrib/hbqt/hbqt_hbqttableview.cpp
+ contrib/hbqt/hbqt_hbqtmydrawingarea.cpp
* contrib/hbqt/hbqt_destruct.cpp
* contrib/hbqt/hbqt_slots.cpp
* contrib/hbqt/hbqt_slots.h
* contrib/hbqt/Makefile
* Formatting (some of these generated long lines, but for now I had to see what's
happening in code)
* Moved out some classes from hbqt_slots.cpp. (TODO/TOFIX: renaming, moving declarations)
! Fixed missing hb_vmRequestRestore() calls. (lots)
+ Added TOFIX hbqt_gcpointer();
% Certain functions marked static.
% Optimized out listActv vars.
- Deleted commented code.
* contrib/rddads/adsx.c
* contrib/rddads/ads1.c
* Minor formatting.
* harbour/src/pp/ppcore.c
* strip UTF-8 BOM signature from compiled .prg files
* harbour/include/hbdefs.h
+ added HB_MACRONAME_JOIN() macro
* harbour/include/hbinit.h
! fixed startup function declaration when HB_STRICT_ANSI_C macro is set
* harbour/src/rdd/dbfcdx/dbfcdx1.c
* modified to use unique names for startup functions
* harbour/include/hbcdpreg.h
* modified to use unique names in CP startup functions for non #pragma
based initialization.
* harbour/include/Makefile
+ harbour/include/hbgtreg.h
+ added default GT startup code in header file which can be
included by GT drivers. This version uses unique function names
for non #pragma based initialization.
* harbour/src/rtl/gt_tpl/gt_tpl.c
* harbour/src/rtl/gtdos/gtdos.c
* harbour/src/rtl/gtwin/gtwin.c
* harbour/src/rtl/gtxwc/gtxwc.c
* harbour/src/rtl/gtcrs/gtcrs.c
* harbour/src/rtl/gtstd/gtstd.c
* harbour/src/rtl/gttrm/gttrm.c
* harbour/src/rtl/gtcgi/gtcgi.c
* harbour/src/rtl/gtos2/gtos2.c
* harbour/src/rtl/gtsln/gtsln.c
* harbour/src/rtl/gtpca/gtpca.c
* harbour/src/rtl/gtgui/gtgui.c
* harbour/src/rtl/gtwvt/gtwvt.c
* harbour/contrib/gtalleg/gtalleg.c
* harbour/contrib/gtqtc/gtqtc.cpp
* harbour/contrib/gtwvg/gtwvg.c
* harbour/contrib/hbct/ctwin.c
* use #include "hbgtreg.h" for startup code
* harbour/contrib/rddads/ads1.c
* renamed RDD from ADT to ADSADT
+ added public functions ADSADT, ADSNTX, ADSCDX, ADSVFP to be able
do a REQUEST RDD using RDD name from .prg code
* harbour/contrib/rddads/adsx.c
+ added ADSNTXX, ADSCDXX, ADSADTX RDDs
* contrib/hbxbp/xbptreeview.prg
! Fixed how children nodes are managed.
* contrib/hbide/idemisc.prg
* contrib/hbide/projects/hbide.hbi
* contrib/hbide/idestylesheets.prg
* contrib/hbide/hbide.prg
! More context menu options.
RIGHT+CLICK on <Editor> files presents <Save><Close> options.
+ Implemented adding source files via <Select>.
This implementation tries to substitute meta-key-value,
if one is defined, for part of path, a handy feature.
* include/hbwince.h
+ Added following macros to help transitioning to new method
of CP conversion when interfacing with Windows API (both UNICODE
and non-UNICODE):
HB_PARSTR( n, h, len )
HB_RETSTR( str )
HB_RETSTRLEN( str, len )
HB_STORSTR( str, n )
HB_STORSTRLEN( str, len, n )
; The goal is to replace HB_TCHAR_*() macros and hb_osEncodeCP()
call with above ones. This will allow to use any CPs (even UTF8)
on the .prg level and transparently interface with Windows
with proper CP translation.
We will probably need a few more macros to store strings in
array elements f.e., but this is enough for a start.
* contrib/hbwin/wapi_shellapi.c
+ Experimental: WAPI_SHELLEXECUTE() converted to use above new
macros. It results in much cleaner code.
Minor incompatibility: 3rd parameter is now passed as-is, so
if non-string is passed it gets passed to Windows as NULL,
which isn't a valid input parameter.
; NOTE: Probably it will useful to have HB_PARSTRDEF() which also
accepts a default value to be used when non-string
parameter was passed. (to replace old hb_parcx() calls).
Is it possible to add such function or any other ways to solve that?
; TOFIX: I'm getting this warning:
warning: implicit declaration of function 'hb_setGetOSCP'
and it's probably too late, but I couldn't find a way to
include hbset.h without errors or with least side-effects.
Przemek, could you help?
* contrib/hbwin/win_prn1.c
* Formatting.
* src/rdd/dbcmd.c
* src/rdd/wafunc.c
+ Moved recently implemented codepage defaulting logic (_SET_DBCODEPAGE)
to lower lever functions.
Please review me.
* external/libpng/pngrio.c
* external/libpng/pngerror.c
* external/libpng/pngconf.h
* external/libpng/pngwrite.c
* external/libpng/pngset.c
* external/libpng/pngpread.c
* external/libpng/pngwtran.c
* external/libpng/LICENSE
* external/libpng/pngwio.c
* external/libpng/pngrutil.c
* external/libpng/pngwutil.c
* external/libpng/pngread.c
* external/libpng/pngmem.c
* external/libpng/png.c
* external/libpng/pngget.c
* external/libpng/pnggccrd.c
* external/libpng/png.h
* external/libpng/pngrtran.c
* external/libpng/pngtrans.c
* Updated to 1.2.41 (from 1.2.40)
* contrib/hbide/idemisc.prg
* contrib/hbide/idestylesheets.prg
* contrib/hbide/projects/hbide.hbi
* contrib/hbide/hbide.prg
+ Implemented Project definition/loading/manipulation through
<Project Tree> interface.
+ Implemented this tree structure:
- Projects
- Executables
- Harbour-Qt IDE
- C:\harbour\contrib\hbide\ [ Path containing the source ]
- hbide.prg
- idemisc.prg
- ...
- C:\harbour\contrib\hbwin\
- olecore.c
- ...
- GTWVG Demonstration Application
- C:\harbour\contrib\gtwvg\tests\
- demowvg.prg
- Editor [ Holds sources already opened ]
- C:\harbour\contrib\hbide\ [ Path containing the source ]
- hbide.prg
- idetags.prg
- ...
RIGHT-CLICK ( context menu ) on <Projects> node presents a menu to
define or load a project.
RIGHT-CLICK on <Project Description> node allows to redefine
the properties.
DOUBLE-CLICK on any source file has two actions,
1) it opens the editor tab if file is not open already,
2) it makes the tab current which holds the source of this file.
This action is valid on nodes contained beneath <Path> under
<Project Description> or under <Editor>.
certainly hope that some of you will play with it and will report
back anything desired more.
* src/vm/set.c
* src/rdd/dbcmd.c
* include/set.ch
* include/hbset.h
+ Added support for SET( _SET_DBCODEPAGE ). This will set the
default codepage for RDD operation. It affects following
functions and everything which is based on them:
DBUSEAREA()
DBCREATE()
HB_DBCREATETEMP()
__DBOPENSDF()
IOW every function which accepts current "dirty" Harbour
extension <cCodePage>.
This new SET() is useful if someone wants to use a different
than app codepage in tables, without modifying every above
calls to pass the db CP as extra parameter (plus maintaining
this global setting in app code).
* src/rdd/dbcmd.c
+ Added short DBUSEAREA() parameter list doc in comment.
* contrib/hbide/hbide.hbp
- contrib/hbide/freadlin.c
* contrib/hbide/idemisc.prg
% Elminated HB_FREADLINE().
% Highly optimized MEMOTOARRAY().
% Using FOR EACH in PARSEWITHMETADATA(), APPLYMETADATA().
! -1 -> F_ERROR
- Deleted #include "hbqt.ch". Not needed.
* Minor formatting.
* harbour/contrib/hbtpathy/tpunix.c
! fixed tty raw IO mode setting
* reduced CRTSCTS redefinition to WATCOMC and Linux, added small
comment about it and iTODO compile time warning if CRTSCTS is
not defined.
TODO: make some cleanup and extensions for *nix version of this
library.
* harbour/config/os2/watcom.mk
* disabled -s from GTSTD compile time parameters to test possible
workaround for OW problems in MT mode and APIENTRY16 functions.
* contrib/hbide/ideparseexpr.c
! Fixed to use hb_strncpy() instead of strncpy().
* contrib/hbwin/win_os.prg
+ Added comment to indicate parameter accepted as reference.
* contrib/hbwin/Makefile
* contrib/hbwin/win_reg.prg
+ contrib/hbwin/legacycr.c
+ Renamed three registry functions to reside in WIN_ namespace:
win_regSet() <= SetRegistry()
win_regGet() <= GetRegistry()
win_regQuery() <= QueryRegistry()
; Old names are still available.
; TODO: Move legacy Windows function names to xhb lib.
This has the advantage that they can stay there
forever.
* contrib/hbwin/win_os.prg
* Changed to use new function names.
* Variable name cleanup.
% WIN_OSNETVREDIROK() optimized/simplified.
* contrib/hbide/ideparseexpr.c
* Final renaming cleanup.
* contrib/hbide/hbide.prg
+ Changed to use HB_MEMOWRIT() instead of MEMOWRIT() to avoid
legacy EOF char.
* contrib/hbtpathy/tpunix.c
+ Cleaned definition of CRTSCTS macro, if not defined.
Based on info sent to dev list by Przemek, plus Darwin value
added after checking my system.
+ Added TODO warning and dummy return value if CRTSCTS
cannot is unknown for target platform.
; Please review me.
* contrib/hbwin/win_os.prg
* contrib/hbwin/win_osc.c
* contrib/hbwin/legacycv.c
+ Added WIN_OSISVISTAORUPPER().
+ Added xhb compatibility functions OS_ISWINVISTA_OR_LATER()
+ WIN_OSNETREGOK() extended to turn of SMB2 on Vista and upper systems.
! Fixed WIN_OSNETREGOK() to only attempt to change HKLM registry settings
if run under admin account (on NT systems). This also fixes a typo
in current xhb implementation.
; Adaptation of xhb addition by Peter Rees.
* contrib/hbwin/win_regc.c
+ Added NOTE about minor xhb incompatibility in registry hive numbers.
(default/zero is HKCU in Harbour, HKLM in xhb)
* contrib/hbide/ideparseexpr.c
* Cleaned int/size type usage.
* Formatting.
* Variables name cleanups.
* contrib/hbide/hbide.prg
* contrib/hbide/projects/hbide.hbi
* contrib/hbide/resources/projectproperties.ui
! Probably now <Project Properties> dialog will exit cleanly on <Cancel>.
! Destroyed more Qt objects on exit.
* contrib/hbxbp/xbpstatusbar.prg
! Destruction of panels.
* contrib/hbide/hbide.prg
- Deleted non __HARBOUR__ #if branch. Please tell me if I'm
wrong but hbide doesn't work anywhere else than Harbour.
* IF() -> IIF().
* contrib/hbide/hbide.env
- Deleted windows-only stuff.
- Deleted HB_COMPILER and HB_PLATFORM envvars. These are not required.
* HB_INC_* -> HB_WITH_* although I don't understand why this is needed here.
It probably should be deleted completely.
; NOTE: IMO this whole file is very much non-portable and it's not the
IDEs job to configure local environment. We have INSTALL to guide
users and hard coding any part of that information into setting
files is not good.
* contrib/hbide/idestylesheets.prg
% Optimized.
* contrib/hbide/ideparseexpr.c
! Changed to use '\0' instead of 0.
* contrib/hbide/ideparseexpr.c
! Fixed to not contain non-ANSI comments.
% Minor optimizations.
! Fixed linearfind() to return incorrect result when called in
case insensitive mode. (not exploited by current code)
% Marked worker functions as static.
+ Using Harbour types HB_BOOL and HB_SIZE. (type usage is still inconsistent)
% Elminiated HB_ISBYREF() call. Not needed.
! Fixed to use hb_strncat() instead of strcat().
! Fixed unsafe '!' oparator usage. (MSVC C++ warning)
; TOFIX: There is still one unsafe strncpy() usage, but I can't fix it.
Anyone?
* contrib/hbide/ideparseexpr.c
! Fixed to not use explicit values for const variable sizes.
Using HB_SIZEOFARRAY() instead.
! Fixed C++ warnings.
! Fixed const usage. (explicit cast removed which silences
warnings)
% Minor optimization when returning value in PARSEXPR().
! Fixed potential GPF in PARSEXPR() when non string param is passed.
* src/rtl/gtos2/Makefile
* config/os2/watcom.mk
% Changed the way -s option is disabled for certain modules
(currently gtos2).
This method doesn't require new variable, although it's still
a hack.
* harbour/src/rtl/gtos2/Makefile
* harbour/config/os2/watcom.mk
* disable -s in GTOS2 OpenWatcom builds using HB_CSTACK_CHECK variable.
This is workaround for wrong code generated by OpenWatcom <= 1.8
when -s switch is used for functions calling APIENTRY16 functions.
Such code executed from non main thread causes GPF.
* bin/postinst.bat
+ Syncing C/C++ Harbour build mode with hbmk2 invocation
options in postinst phase. (please test)
Only required for mingw, but it's done for every compiler
for consistency, but only if it's overridden by user.
(so f.e. for msvc, C++ isn't enabled in this case. This
could be done on hbmk2 level however, but it would cause
a lot of 3rd party code to break so I didn't do it yet.)
I didn't add logic to hbmk2 to inherit build-time C/C++
setting, because it wouldn't work in cross-build situations,
and multi-target installations.
* utils/hbmk2/hbmk2.prg
+ Added comment on msvc C++ mode.