diff --git a/harbour/ChangeLog b/harbour/ChangeLog index 79dacf1f80..569bdf10c0 100644 --- a/harbour/ChangeLog +++ b/harbour/ChangeLog @@ -17,6 +17,23 @@ past entries belonging to author(s): Viktor Szakats. */ +2010-01-21 00:52 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) + * INSTALL + + Added new item to TROUBLESHOOTING section describing + common problem when native executables are forgotten to be + rebuilt, and causing error in cross-build. + This typically causes problems when compiler/pp/hbmk2 get + new feature. + + * contrib/hbwin/win_tprn.prg + ! Deleted trace msg left there by mistake. + + * contrib/hbwin/hbwin.ch + + Added WIN_*_QUALITY constants. + + * config/global.mk + + Displaying HB_BIN_COMPILE even if explicitly specified by user. + 2010-01-20 09:19 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com) * contrib/hbqt/hbqt_hbqsyntaxhighlighter.cpp * contrib/hbqt/hbqt_hbqsyntaxhighlighter.h @@ -29,7 +46,7 @@ + Ctrl+D - Duplicate Line. ! Improved current line highlighting. But seems some more work is required. - ! Tried to disable zooming in line numbers area but seems + ! Tried to disable zooming in line numbers area but seems Qt has it by default. In edit area zooming is now made available via toolbar icons only. diff --git a/harbour/INSTALL b/harbour/INSTALL index bb2daac4f6..d62608b850 100644 --- a/harbour/INSTALL +++ b/harbour/INSTALL @@ -1073,6 +1073,9 @@ HARBOUR - Make sure to install fresh source tree in a new local directory and start over. See HOW TO GET THE HARBOUR SOURCES section for instructions to get the source. + - If you are doing a cross-build, make sure to have rebuilt the native + Harbour executables for your host platform. See 'HB_BIN_COMPILE' + build messages to find their location. - Keep you PATH clean from old, mixed compiler tools or other Harbour versions when building Harbour. The surest way to achieve this is to leave only compiler directory in PATH: diff --git a/harbour/config/global.mk b/harbour/config/global.mk index e262e07f27..aed97d00e4 100644 --- a/harbour/config/global.mk +++ b/harbour/config/global.mk @@ -1101,6 +1101,9 @@ ifneq ($(HB_HOST_PLAT)$(HB_HOST_CPU),$(HB_PLATFORM)$(HB_CPU)) endif export HB_BIN_COMPILE else + ifeq ($(HB_INIT_DONE),) + $(info ! HB_BIN_COMPILE: $(HB_BIN_COMPILE)) + endif HB_CROSS_BUILD := yes endif ifeq ($(HB_CROSS_BUILD),yes) diff --git a/harbour/contrib/hbwin/hbwin.ch b/harbour/contrib/hbwin/hbwin.ch index e3b3dc9394..12439d95c6 100644 --- a/harbour/contrib/hbwin/hbwin.ch +++ b/harbour/contrib/hbwin/hbwin.ch @@ -224,6 +224,13 @@ #define WIN_FW_HEAVY 900 #define WIN_FW_BLACK WIN_FW_HEAVY +/* WAPI_CREATEFONT() font qualities */ +#define WIN_DEFAULT_QUALITY 0 +#define WIN_DRAFT_QUALITY 1 +#define WIN_PROOF_QUALITY 2 +#define WIN_NONANTIALIASED_QUALITY 3 +#define WIN_ANTIALIASED_QUALITY 4 + /* WIN_SETBKMODE() modes */ #define WIN_TRANSPARENT 1 #define WIN_OPAQUE 2 diff --git a/harbour/contrib/hbwin/win_tprn.prg b/harbour/contrib/hbwin/win_tprn.prg index c6ec384900..2b4688db0c 100644 --- a/harbour/contrib/hbwin/win_tprn.prg +++ b/harbour/contrib/hbwin/win_tprn.prg @@ -369,7 +369,6 @@ METHOD StartPage() CLASS WIN_PRN lChangeDP := .T. ENDIF IF lChangeDP - HB_TRACELOG( "setdoc", nLFormType ) win_SetDocumentProperties( ::hPrinterDC, ::PrinterName, ; nLFormType, lLLandscape, , ; nLBinNumber, nLDuplexType, nLPrintQuality, ;