From 9165756d2983c045db1f36fda0692be001cfd4b4 Mon Sep 17 00:00:00 2001 From: Viktor Szakats Date: Tue, 29 Mar 2011 08:08:58 +0000 Subject: [PATCH] 2011-03-29 10:07 UTC+0200 Viktor Szakats (harbour.01 syenar.hu) * src/rtl/gtwin/gtwin.c - Fully disabled palette setting feature due to bad side effects reported by Mindaugas. Maybe it could be reenabled in some cases, pls refine it if you need this feature. Pls also retest, I have a hard time replicating this side-effect on my system. * INSTALL * Updated. mingw tdm 4.5.2 works fine again. * examples/hbdoc2/gentpl.prg ! Fixed typo reported on users' list by Emmer. --- harbour/ChangeLog | 14 ++++++++++++++ harbour/INSTALL | 2 +- harbour/examples/hbdoc2/gentpl.prg | 2 +- harbour/src/rtl/gtwin/gtwin.c | 2 ++ 4 files changed, 18 insertions(+), 2 deletions(-) diff --git a/harbour/ChangeLog b/harbour/ChangeLog index fed2b829e3..119d33df48 100644 --- a/harbour/ChangeLog +++ b/harbour/ChangeLog @@ -16,6 +16,20 @@ The license applies to all entries newer than 2009-04-28. */ +2011-03-29 10:07 UTC+0200 Viktor Szakats (harbour.01 syenar.hu) + * src/rtl/gtwin/gtwin.c + - Fully disabled palette setting feature due to bad side effects + reported by Mindaugas. + Maybe it could be reenabled in some cases, pls refine it if you + need this feature. Pls also retest, I have a hard time replicating + this side-effect on my system. + + * INSTALL + * Updated. mingw tdm 4.5.2 works fine again. + + * examples/hbdoc2/gentpl.prg + ! Fixed typo reported on users' list by Emmer. + 2011-03-29 09:55 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/src/vm/thread.c * pacified warnings diff --git a/harbour/INSTALL b/harbour/INSTALL index 2d449864d5..7eeb145d98 100644 --- a/harbour/INSTALL +++ b/harbour/INSTALL @@ -1448,7 +1448,7 @@ HARBOUR C/C++ Compilers/Shells: MinGW/MinGW-64 [win, *nix, free, open-soource] - http://tdm-gcc.tdragon.net/, http://sourceforge.net/projects/tdm-gcc/ (unofficial, recommended, but only up to 4.5.0) + http://tdm-gcc.tdragon.net/, http://sourceforge.net/projects/tdm-gcc/ (unofficial, recommended) [NOTE: 4.5.1 is broken] http://www.mingw.org/, http://sourceforge.net/projects/mingw/ (official 32-bit, MSYS home, broken as of 4.5.0-1) http://mingw-w64.sourceforge.net/, http://sourceforge.net/projects/mingw-w64/ (official 64-bit, MSYS home) http://nuwen.net/mingw.html (unofficial) diff --git a/harbour/examples/hbdoc2/gentpl.prg b/harbour/examples/hbdoc2/gentpl.prg index 4d56062ff6..5717517193 100644 --- a/harbour/examples/hbdoc2/gentpl.prg +++ b/harbour/examples/hbdoc2/gentpl.prg @@ -105,7 +105,7 @@ METHOD New( cFolder, cFilename, cTitle, cExtension, nType ) CLASS TPLGenerate ::cExtension := cExtension ::nType := nType - IF hb_DirExists( ::cFolder ) + IF ! hb_DirExists( ::cFolder ) ? "Creating folder " + ::cFolder hb_DirCreate( ::cFolder ) ENDIF diff --git a/harbour/src/rtl/gtwin/gtwin.c b/harbour/src/rtl/gtwin/gtwin.c index 0d8dc0ad9d..4c5098a14a 100644 --- a/harbour/src/rtl/gtwin/gtwin.c +++ b/harbour/src/rtl/gtwin/gtwin.c @@ -132,6 +132,8 @@ # endif #endif +#undef HB_GTWIN_USE_PCONSOLEINFOEX + #ifndef MOUSE_WHEELED # define MOUSE_WHEELED 0x0004 #endif