* 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/make_b32.bat
* harbour/make_vc.bat
* harbour/make_vcce.bat
* Take care of environment variables possibly modified
inside batch files. Should leave user environment space
in a consistent state.
* harbour/source/common/hbfsapi.c
* define INVALID_FILE_ATTRIBUTES when not defined in C header
files - temporary workaround for missing INVALID_FILE_ATTRIBUTES
definition in new MSVC versions
* harbour/include/hbwince.h
* removed INVALID_FILE_ATTRIBUTES definition
* 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.
* harbour/source/compiler/hbmain.c
* make all hb_compI18n*() functions which do not need external access
static - now only hb_compI18nAdd() is public function. If it will
be necessary to make other functions public then we will make it
but please always try to declare new functions as static if it's
not necessary to access them externally - it helps in future
modifications because we do not have to worry about external
code which may access some functions.
* harbour/config/hpux/gcc.cf
* added commented -mlp64 GCC switch to CFLAGS and LDFLAGS - this
switch forces 64-bit mode in HP-UX on IA64
* harbour/source/common/hbwince.c
+ added wrapper for LocalHandle() and direct translation for LocalLock()
* harbour/config/w32/cemgw.cf
+ added commdlg, commctrl, luuid and ole32 to linked library list
for some contrib code
* contrib/mtpl_b32.mak
* contrib/mtpl_vc.mak
+ Added optional HB_CC_DIRNAME to control (and override)
where the final target files will be created inside
obj/lib/bin dirs.
Marek pls report if this solved anything for you.
* make_b32.mak
! Removed -l flag from .dll creation to be in sync with the
rest of Harbour.
* contrib/mtpl_b32.mak
* contrib/mtpl_vc.mak
! Synced with core flags (VC mainly).
* contrib/freeimage/fi_winfu.c
* contrib/freeimage/fi_wrp.c
* contrib/freeimage/make_b32.bat
* contrib/freeimage/make_vc.bat
* contrib/firebird/firebird.c
* contrib/firebird/make_b32.bat
* contrib/firebird/make_vc.bat
* contrib/pdflib/make_b32.bat
* contrib/pdflib/make_vc.bat
* contrib/pdflib/pdfhbdoc.c
* contrib/pgsql/postgres.c
* contrib/pgsql/make_b32.bat
* contrib/pgsql/make_vc.bat
* contrib/mysql/mysql.c
* contrib/mysql/make_b32.bat
* contrib/mysql/make_vc.bat
! Some extra lib-level custom C flags fixed to be
in sync with rest of Harbour. (mainly HB_OS_WIN_32_USED)
* contrib/hbzlib/make_b32.bat
* contrib/hbzlib/make_vc.bat
! hbziparch extra switches removed (all of them).
This made surface a whole lot of warnings.
If someone wants to create a .dll from this,
-DZLIB_DLL will need to be added to C_USR.
-a8 switch was also removed from the BCC build.
If someone know that it's necessary, pls shout.
* harbour/bin/pack_src.sh
* updated for recent file name modifications
* harbour/include/hbgtcore.h
* harbour/source/rtl/gtclip.c
* changed hb_gt_w32_SetClipboard() type from void to BOOL
* harbour/source/rtl/gtstd/gtstd.c
* harbour/source/rtl/gtpca/gtpca.c
* added basic input support for DJGPP
* harbour/contrib/gtwvg/gtwvt.c
! fixed memory leak and GPF trap
* harbour/contrib/gtwvg/wvtutils.c
! rewritten and fixed CLIPBOARD functions - Pritpal this functions
should be removed, they are redundant and works only in MS-Windows
* make WVT__GETOPENFILENAME() and WVT__GETSAVEFILENAME() Unicode
ready and fixed possible GPF trap
* contrib/mtpl_b32.mak
* contrib/mtpl_vc.mak
! Fixed: HB_CC_NAME -> _HB_CC_NAME
(files were directly created in '/lib//' since last change)
If someone wants to override the default dir names where
bin/lib/obj files are created - by using an undocumented
internal envvar - pls use 'set _HB_CC_NAME=...'
+ harbour/contrib/gtwvg/test
+ demowvg.prg
+ test.dbf
+ dia_excel.ico
+ v_browse.ico
+ v_clcltr.ico
+ v_calend.ico
+ v_clclt.bmp
+ v_filter.ico
+ v_help.ico
+ v_index.bmp
+ v_lock.bmp
+ v_new.bmp
+ v_notes.bmp
+ v_notes1.bmp
+ v_selct1.bmp
+ v_tools.bmp
+ vr_1.ico
Initial placement of files to demonstrate the usage of gtwvg and its GUI elements.
Please note that this appln may terminate without notice at places where
browser is opened because appln needs tbrowse:aColumnsSep instance variable
which I will do shortly. Rest all components are working ok.
+ harbour/contrib/gtwvg/test
+ demowvg.prg
+ test.dbf
+ dia_excel.ico
+ v_browse.ico
+ v_clcltr.ico
+ v_calend.ico
+ v_clclt.bmp
+ v_filter.ico
+ v_help.ico
+ v_index.bmp
+ v_lock.bmp
+ v_new.bmp
+ v_notes.bmp
+ v_notes1.bmp
+ v_selct1.bmp
+ v_tools.bmp
+ vr_1.ico
Initial placement of files to demonstrate the usage of gtwvg and its GUI elements.
Please note that this appln may terminate without notice at places where
browser is opened because appln needs tbrowse:aColumnsSep instance variable
which I will do shortly. Rest all components are working ok.
* harbour/bin/postinst.sh
* workaround for missing 'install' command in some HP-UX versions
* harbour/contrib/xhb/cstructc.c
* casting for 64bit builds
* harbour/contrib/gtwvg/wvtcore.c
! Fixed side effects of copy/paste in hb_wvt_gtDlgProcModal().
* harbour/contrib/gtwvg/wvtclass.prg
* Changed cCaption[1] to left( cCaption,1 ) to work without xhb.lib.
* harbour/contrib/gtwvg/wvtcore.c
! Fixed side effects of copy/paste in hb_wvt_gtDlgProcModal().
* harbour/contrib/gtwvg/wvtclass.prg
* Changed cCaption[1] to left( cCaption,1 ) to work without xhb.lib.
* contrib/what32/wintabs.prg
* contrib/what32/wintbar.prg
! Fixes to make them compile with Harbour.
Pritpal, could you please check this, because it's
not exactly clear what is the intent in the source code,
so these might be the wrong fixes.
* contrib/mtpl_b32.mak
* contrib/mtpl_vc.mak
! Using a neutral character instead of double quote
in hacked DOS "if %1 ==" commands to avoid the
situation where the quote is filtered, replaced
under certain (not defined) Windows/BCC
environments. Same change done for VC to stay in
sync.
* harbour/make_b32.mak
* harbour/make_gcc.mak
* harbour/make_vc.mak
* harbour/make_vcce.mak
! Fixed generation of pptable.c for dll build
(I am amazed how it used to work before)
* Changed -Iobj\$(HB_CC_NAME) to -I$(OBJ_DIR)
* harbour/contrib/gtwvg/gtwvt.h
* harbour/contrib/gtwvg/gtwvt.c
* harbour/contrib/gtwvg/wvtcore.c
* moved hb_wvt_GetStringAttrib(), hb_wvt_PutStringAttrib(),
hb_wvt_gtLoadPictureFromResource(), hb_wvt_gtLoadPicture(),
hb_wvt_gtRenderPicture(), hb_wvt_gtDestroyPicture() from
gtwvt.c to wvtcore.c
* changed hb_wvt_GetStringAttrib() and hb_wvt_PutStringAttrib()
to work with any GTs
! removed GTWVG internal screen buffer and fixed to work well woth
core code screen buffer
! some fixes borrowed from Harbour GTWVT
* synced most of contrib/gtwvg/gtwvt.c code with rtl/gtwvt/gtwvt.c
- removed unused GLOBAL_DATA members:
foreground, background, BUFFERSIZE, byAttributes, byBuffer,
pAttributes, pBuffer, caretPos, displayCaret, RectInvalid
Pritpal please check if it works for you with GUI extensions.
I've tested it as normal GT driver and it works correct in my
tests.
+ contrib/what32/Makefile
+ contrib/what32/make_b32.bat
+ contrib/what32/make_vc.bat
+ contrib/what32/common.mak
+ Added GNU and non-GNU make files for what32.
; Not fully tested, because I stumbled across a few problems:
- for BCC32 this lib needs TASM32 (non-free AFAIS)
- it need xhb lib and headers
- several .prg warnings, so it needs PRG_USR=-w1 before building.
- error in .prg:
.\wintabs.prg(98) Warning W0001 Redefinition or duplicate definition of #define TCN_SELCHANGE
; An MSVC warning:
- ..\..\obj\vc\wincore.c(711) : warning C4129: 'w' : unrecognized character escape sequence
This is inline C code in wincore.prg