* harbour/contrib/xhb/Makefile
* harbour/contrib/xhb/common.mak
+ harbour/contrib/xhb/xhbqself.c
+ added xHarbour compatible HB_QSELF() function
* harbour/contrib/xhb/xhbfunc.c
* removed HB_QSELF() redirecting to Class(y) compatible __SENDER()
function
* harbour/contrib/xhb/xhbcomp.prg
! fixed scalar classes overloading, do not enable extended messages
for basic types if user haven't requested it (ENABLE TYPE CLASS ...),
use scalar classes defined in RTL
* harbour/include/hbmath.h
* harbour/source/rtl/math.c
* cleaned matherr API, now it works in the same way on all
platforms - this modification fixes also some strange
results when math functions were called with wrong arguments
on some platforms
* harbour/contrib/hbct/trig.c
* harbour/contrib/hbct/finan.c
* harbour/contrib/hbct/ctmath2.c
* updated for new matherr API and cleaned some minor problems
* harbour/contrib/hbct/files.c
! use DATE and TIME parameters formated like for DOS in OS2
version of SETFDATI() - David, if possible please repeat
the test from my previous commit, thank you.
* harbour/ChangeLog
* reverted conversion to UTF8 of national characters (svn diff)
* harbour/include/hbdate.h
* harbour/source/common/hbdate.c
+ added hb_timeStrGet()
* harbour/contrib/hbct/files.c
* use hb_timeStrGet() instead of sscanf()
+ added OS2 version of SETFDATI() - please test it !!!
I'm interesting in results of this code compiled with OS2
Harbour build:
proc main()
local cFile:="_tst.tmp"
FCLOSE(FCREATE(cFile))
? FILEDATE(cFile), FILETIME(cFile)
? SETFDATI(cFile,STOD("20061129"),"12:34:45")
? FILEDATE(cFile), FILETIME(cFile)
? SETFDATI(cFile)
? FILEDATE(cFile), FILETIME(cFile)
FERASE(cFile)
return
* bin/bld.bat
! %HB_USER_LIBS% (for bcc32) moved to the beginning of the lib list.
* contrib/mtpl_b32.mak
! Fixed preprocessor error in line 190 when HB_INSTALL_PREFIX != HB_ROOT
* source/rtl/getsys53.prg
* source/rtl/getsys.prg
! Moved ReadStats() to getsys52.prg
* ChangeLog
! Removed UTF-8 signature from the beginning of the file.
Unfortunately accented chars got converted to UTF8, which
would need to fixed.
Pritpal, please turn off this feature on your editor for Harbour.
* harbour/source/common/hbfsapi.c
+ added OS2 version of hb_fsFileExists() and hb_fsDirExists()
Please test - I do not have OS2
* harbour/source/rdd/dbf1.c
! removed unnecessary printf() message I left by mistake
* harbour/contrib/hbct/files.c
+ added OS2 version of SETFATTR()
Please test - I do not have OS2
* harbour/config/os2/global.cf
+ added temporary workaround for possible problems with some
GNU make versions
* harbour/make_deb.sh
+ build hbpgsql when libpq-dev is installed
* harbour/include/clipdefs.h
* do not define PBYTE, PSHORT, PUSHORT, PLONG, PULONG, PBOOL, PVOID
when HB_OS_OS2 && HB_DONT_DEFINE_BASIC_TYPES is defined
* harbour/contrib/hbrddads/adsfunc.c
+ ADSGetServerName()
* harbour/contrib/hbrddads/make_b32.bat
* harbour/contrib/hbrddads/make_vc.bat
! Fixed variable names in help screen
* Added setting to ADS_REQUIRE_VERSION by value of ADS_VER
* harbour/contrib/hbgtwvg/wvtpaint.prg
! Formatting.
* harbour/contrib/hbgtwvg/hbgtwvg.c
+ static BOOL hb_gt_wvt_PutChar( PHB_GT pGT, int iRow, int iCol,
BYTE bColor, BYTE bAttr, USHORT usChar )
GUI elements need that every screen region requsted to be redrawn must be redrawn.
* harbour/contrib/xhb/cstruct.prg
+ #include 'xhb.ch'
! Line#259 : cSynon[1] == '*' => left( cSynon,1 ) == '*'
Now C Structure support in Harbour is exactly like xHarbour. Tested.
* harbour/source/rtl/gtwvt/gtwvt.h
* harbour/source/rtl/gtwvt/gtwvt.c
* harbour/contrib/hbgtwvg/gtwvt.h
* harbour/contrib/hbgtwvg/gtwvt.c
* moved RGB definition of used colors to terminal window structure,
now each window can use different palette
* harbour/include/hbgtcore.h
* harbour/source/rtl/hbgtcore.c
* harbour/source/rtl/gtapi.c
* harbour/source/rtl/inkeyapi.c
* harbour/source/rtl/mouseapi.c
- removed hb_gt_*(), hb_inkey_*(), hb_mouse_*() functions
+ implemented HB_GTSELF_*() functions and changed HB_GTSUPER_*()
ones to operate on GT context passed ad 1-st parameter.
Now GT API allows to create many GTs working simultaneously
+ added hb_gt_Base() core function which returns GT context
it will be extended soon to allow using many GT contexts,
setting thread default one or switch between them using some
.prg function.
* harbour/source/rtl/gtstd/gtstd.c
* harbour/source/rtl/gtcgi/gtcgi.c
* harbour/source/rtl/gtpca/gtpca.c
* harbour/source/rtl/gttrm/gttrm.c
* harbour/source/rtl/gtxwc/gtxwc.c
* harbour/source/rtl/gtcrs/gtcrs.c
* harbour/source/rtl/gtcrs/gtcrs.h
* harbour/source/rtl/gtsln/gtsln.c
* harbour/source/rtl/gtsln/gtsln.h
* harbour/source/rtl/gtsln/kbsln.c
* harbour/source/rtl/gtsln/mousesln.c
* harbour/source/rtl/gtalleg/gtalleg.c
* harbour/source/rtl/gtgui/gtgui.c
* harbour/source/rtl/gtwin/gtwin.c
* harbour/source/rtl/gtwvt/gtwvt.h
* harbour/source/rtl/gtwvt/gtwvt.c
* harbour/contrib/hbct/ctwin.c
* harbour/contrib/hbct/ctwin.h
* harbour/contrib/hbct/ctwfunc.c
* harbour/contrib/hbgtwvg/gtwvt.h
* harbour/contrib/hbgtwvg/gtwvt.c
* updated GT code for new GT API. I still haven't added GT cloning
to them and only GTTRM is ready to use in multi window MT programs
but now they can be systematically modified and it can be done
locally without core code modifications.
* harbour/contrib/hbgtwvg/wvtutils.c
! fixed some memory leaks in Unicode conversions
* harbour/contrib/gtwvg/gtwvt.c
! Small addition in PaintText() wrongly omitted while cleaning.
* harbour/contrib/gtwvg/wvtutils.c
* Tooltip - Initialization of variable.
* harbour/contrib/gtwvg/tests/demowvg.prg
! Fixed to run with Harbour perfectly. Please note that
TBrowse in Harbour needs some fixes. Replace it with xHarbour
TBrowse and the look of composite dialog changes.
* harbour/contrib/gtwvg/wvtcore.c
! Small typo and formatting.
* harbour/contrib/gtwvg/wvtutils.c
* More UNICODE compliant.
* harbour/contrib/gtwvg/test/demowvg.prg
! Adjusted to respect changes in core lib.
* harbour/contrib/gtwvg/wvtcore.c
! Small typo and formatting.
* harbour/contrib/gtwvg/wvtutils.c
* More UNICODE compliant.
* harbour/contrib/gtwvg/test/demowvg.prg
! Adjusted to respect changes in core lib.
* harbour/include/hbgtcore.h
+ added some missing HB_GTSUPER_* functions
* harbour/contrib/hbgtwvg/wvtcore.c
* use hb_gt*() functions instead of hb_gt_*() ones
* harbour/contrib/hbgtwvg/wvtutils.c
* harbour/contrib/hbgtwvg/gtwvt.c
* harbour/source/rtl/gtwin/gtwin.c
* harbour/source/rtl/gtgui/gtgui.c
* harbour/source/rtl/gtwvt/gtwvt.c
* harbour/source/rtl/gttone.c
* harbour/source/rtl/gtclip.c
* minor cleanup in hb_gt_w32_*() function names
* harbour/source/rtl/hbgtcore.c
* harbour/source/rtl/gtclip.c
* use common for all GT internal Clipboard buffer - thanks to Pritpal
for a note
* harbour/contrib/make_b32_all.bat
* harbour/contrib/make_vc_all.bat
- Removed the dependancy on a worker bat file
named make_<b32|vc>.bat. Now a worker bat file
is created on a fly.
- harbour/contrib/make_b32.bat
- harbour/contrib/make_vc.bat
- Removed. No longer neccesary.
* harbour/include/hbapigt.h
* removed declaration for not existing function: hb_inkeyGet()
* harbour/include/hbgtcore.h
* harbour/source/rtl/hbgtcore.c
* moved all static variables used by core GT code to HB_GT_BASE
structure
* harbour/source/rtl/inkey.c
* cleanup
* harbour/contrib/Makefile
* moved HB_CONTRIBLIBS to the end build library list because they may
need some other contrib libraries in dependences list
* contrib/hbgd/make_b32.bat
* contrib/hbgd/gdwrp.c
! Fixed the way HB_OS_WIN_32_USED is used and windows.h
is included to work like in rest of Harbour. This way
it works for all compilers/build systems.
* harbour/contrib/hbgd/make_b32.bat
! Fixed compilation under BCC
added -DHB_OS_WIN_32_USED to CFLAGS env var to compile
gdwrp.c creating undecorate C function names
* make_vcce.bat
* make_vcce.mak
* make_b32.bat
* make_b32.mak
* make_vc.bat
* make_vc.mak
* common.mak
+ Now every internally used envvars are reset before
exiting.
! Not tampering with user level envvars by changing
their content to default values.
% HB_GT_* envvar defaulting move to .mak file level,
since these envvars were not used on batch file
level anyway.
* make_vcce.bat
* make_vcce.mak
* CFLAGS -DHB_NO_WIN_CONSOLE moved to the make file.
If there was any reason to have this only CE C flag
in batch file separated from the rest of the extra
CE C flags in the make file, please speak up.
This change may cause trouble for those using
the make file directly and at the same time don't
want to use the HB_NO_WIN_CONSOLE compiler flag.
In this case we should add a documented way to
disable it inside the make file IMO.
* contrib/freeimage/make_b32.bat
* contrib/freeimage/make_vc.bat
* contrib/apollo/make_b32.bat
* contrib/apollo/make_vc.bat
* contrib/firebird/make_b32.bat
* contrib/firebird/make_vc.bat
* contrib/pdflib/make_b32.bat
* contrib/pdflib/make_vc.bat
* contrib/hbzlib/make_b32.bat
* contrib/hbzlib/make_vc.bat
* contrib/pgsql/make_b32.bat
* contrib/pgsql/make_vc.bat
* contrib/gd/make_b32.bat
* contrib/gd/make_vc.bat
* contrib/rdd_ads/make_b32.bat
* contrib/rdd_ads/make_vc.bat
* contrib/mysql/make_b32.bat
* contrib/mysql/make_vc.bat
* contrib/odbc/make_b32.bat
* contrib/odbc/make_vc.bat
* contrib/what32/make_b32.bat
* contrib/what32/make_vc.bat
* contrib/msql/make_b32.bat
* contrib/msql/make_vc.bat
+ Now every internally used envvars are reset before
exiting the batch file, so they won't interact
with other batch files even if being called after
each other using "call". So "%COMPSPEC% /c" is not
necessary anymore when calling these batches.
! Fixed to use _HB_CC_NAME when dealing with .dll to .lib
conversions.
* contrib/make_b32_all.bat
* contrib/make_vc_all.bat
+ Added gtwvg library.
+ Added what32 library (to DO_NOT_COMPILE list for b32).
* contrib/mtpl_b32.bat
* contrib/mtpl_vc.bat
! Undone prev change because it interacted with .dll to .lib
conversions.
* harbour/bin/hb-func.sh
* inherit some parameters like -mlp{64,32}, -m{64,32} set in C_USR
during build as default C compiler/linker switches in hb* scripts
* harbour/config/w32/pocc.cf
+ added comdlg32.lib to linked library list
* harbour/source/common/hbwince.c
+ added dummy FreeResource() function. This is a note from MSDN:
FreeResource() is an obsolete function. It is provided for backward
compatibility with 16-bit Windows applications. FreeResource() is
not necessary for 32-bit Windows applications to free the resources
loaded using LoadResource() function.
* harbour/contrib/gtwvg/wvtutils.c
+ added workaround for wrong ChooseColorW() definition in header
files include in last oficial relase (0.50) of MinGW32-CE
Pritpal above finished modifications I was able to make using
only pure MinGW32-CE 0.50. The following functions used by GTWVG
are still missing:
GetMenu(), SetMenu(),
CreateBrushIndirect(),
GetViewportOrgEx(),
IsDlgButtonChecked(),
OleLoadPicture(),
TrackPopupMenu(),
If you are sure that they exist in WinCE then simply create
static import library for them or dynamic wrappers.