2010-11-05 14:54 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)

* contrib/make.hbs
    ! Don't pickup dependencies with long-filename on MS-DOS hosts.
      Please test.

  * contrib/hbplist
    ! Added missing dependency comment.

  * contrib/rddads/rddads.h
    ! Fixed mingw warnings after recent change. Now _declspec
      is only defined for mingw, if it isn't already. Pls review me.

  * utils/hbmk2/hbmk2.prg
    * Formatting.
This commit is contained in:
Viktor Szakats
2010-11-05 13:55:57 +00:00
parent 1748d6f378
commit 7bd55a6158
5 changed files with 24 additions and 3 deletions

View File

@@ -16,6 +16,21 @@
The license applies to all entries newer than 2009-04-28.
*/
2010-11-05 14:54 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/make.hbs
! Don't pickup dependencies with long-filename on MS-DOS hosts.
Please test.
* contrib/hbplist
! Added missing dependency comment.
* contrib/rddads/rddads.h
! Fixed mingw warnings after recent change. Now _declspec
is only defined for mingw, if it isn't already. Pls review me.
* utils/hbmk2/hbmk2.prg
* Formatting.
2010-11-05 14:25 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbqt/hbqt_hbmk2_plugin.hbs
+ Added support for converting multiple input .qth files to

View File

@@ -20,7 +20,7 @@ hbfoxpro/hbfoxpro.hbp
hbfship/hbfship.hbp
hbgd/hbgd.hbp
hbgt/hbgt.hbp
hbhpdf/hbhpdf.hbp
hbhpdf/hbhpdf.hbp # uses: libhpdf (external)
hbide/hbide.hbp
hbmemio/hbmemio.hbp
hbmisc/hbmisc.hbp

View File

@@ -496,6 +496,12 @@ STATIC FUNCTION call_hbmk2_hbinfo( cProjectPath, hProject )
FOR EACH tmp IN hb_ATokens( hbmk2_hbinfo_getitem( cStdOut, "hbctree", .T. ), Chr( 10 ) )
IF ! Empty( tmp )
hb_FNameSplit( LTrim( tmp ), @cDir, @cName )
#ifdef __PLATFORM__DOS
/* Ignore long filenames on MS-DOS hosts */
IF Len( cName ) > 8
LOOP
ENDIF
#endif
AAdd( hProject[ "aDept" ], { "nDepth" => Len( tmp ) - Len( LTrim( tmp ) ),;
"cFileName_HBP" => StrTran( PathNormalize( PathMakeAbsolute( FNameExtSet( PathSepToSelf( LTrim( tmp ) ), ".hbp" ), s_cRebase ) ), "\", "/" ) } )
ENDIF

View File

@@ -65,7 +65,7 @@
#if !defined( x64 ) && defined( HB_ARCH_64BIT )
#define x64
#endif
#if defined( __WATCOMC__ ) || defined( __LCC__ ) || defined( __MINGW32__ )
#if defined( __WATCOMC__ ) || defined( __LCC__ ) || ( defined( __MINGW32__ ) && ! defined( _declspec ) )
#define _declspec( dllexport ) __declspec( dllexport )
#endif

View File

@@ -8862,7 +8862,7 @@ STATIC FUNCTION HBC_ProcessOne( hbmk, cFileName, nNestingLevel )
AAddNewNotEmpty( hbmk[ _HBMK_aLIBUSERSYS ], MacroProc( hbmk, StrStripQuote( cItem ), cFileName ) )
NEXT
CASE Lower( Left( cLine, Len( "hbcs=" ) ) ) == "hbcs=" ; cLine := SubStr( cLine, Len( "hbcs=" ) + 1 )
CASE Lower( Left( cLine, Len( "hbcs=" ) ) ) == "hbcs=" ; cLine := SubStr( cLine, Len( "hbcs=" ) + 1 )
FOR EACH cItem IN hb_ATokens( cLine,, .T. )
IF nNestingLevel < _HBMK_NEST_MAX